summaryrefslogtreecommitdiff
path: root/libgo/go/encoding/gob/decoder.go
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-14 16:30:54 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-14 16:30:54 +0000
commitfec8b6d03d5fa633dd60d8af7f7adebf1978a28b (patch)
tree3ba3014d56b97b588ffff4dc42c54a581319a315 /libgo/go/encoding/gob/decoder.go
parent4eb17cb6e4ad3f2c838e3875183c802a13cf506f (diff)
downloadgcc-fec8b6d03d5fa633dd60d8af7f7adebf1978a28b.tar.gz
Add a vect_worthwhile_without_simd_p helper routine
The vectoriser sometimes considers lowering "vector" operations into N scalar word operations. This N needs to be fixed at compile time, so the condition guarding it needs to change when variable-lengh vectors are added. This patch puts the condition into a helper routine so that there's only one place to update. 2017-09-14 Richard Sandiford <richard.sandiford@linaro.org> Alan Hayward <alan.hayward@arm.com> David Sherwood <david.sherwood@arm.com> gcc/ * tree-vectorizer.h (vect_min_worthwhile_factor): Delete. (vect_worthwhile_without_simd_p): Declare. * tree-vect-loop.c (vect_worthwhile_without_simd_p): New function. (vectorizable_reduction): Use it. * tree-vect-stmts.c (vectorizable_shift): Likewise. (vectorizable_operation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252765 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/encoding/gob/decoder.go')
0 files changed, 0 insertions, 0 deletions