[Bug target/66120] __builtin_add/sub_overflow for int32_t emit poor code on ARM

2019-12-16 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66120 Alexander Monakov changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/66120] __builtin_add/sub_overflow for int32_t emit poor code on ARM

2016-10-21 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66120 Bug 66120 depends on bug 69663, which changed state. Bug 69663 Summary: [ARM] Implement overflow arithmetic standard names {u,}{add,sub,mul}v4 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69663 What|Removed

[Bug target/66120] __builtin_add/sub_overflow for int32_t emit poor code on ARM

2015-05-12 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66120 Richard Earnshaw rearnsha at gcc dot gnu.org changed: What|Removed |Added Target|arm*-*gnueabi |arm

[Bug target/66120] __builtin_add/sub_overflow for int32_t emit poor code on ARM

2015-05-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66120 --- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org --- Not those, but addvmode4 and subvmode4 instead (perhaps {,u}mulvmode4 if the ISA detects multiplication overflows, also there is negvmode3).

[Bug target/66120] __builtin_add/sub_overflow for int32_t emit poor code on ARM

2015-05-12 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66120 --- Comment #4 from Richard Earnshaw rearnsha at gcc dot gnu.org --- Mul doesn't produce useful overflow bits when the flags are set. We could do negv3.

[Bug target/66120] __builtin_add/sub_overflow for int32_t emit poor code on ARM

2015-05-12 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66120 --- Comment #3 from Richard Earnshaw rearnsha at gcc dot gnu.org --- That's what I meant. Still can't find any info on them in md.texi, though!