This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81647] inconsistent LTGT behavior at different optimization levels on AArch64.
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Aug 2017 14:16:11 +0000
- Subject: [Bug target/81647] inconsistent LTGT behavior at different optimization levels on AArch64.
- Auto-submitted: auto-generated
- References: <bug-81647-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81647
amker at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|aarch64 |aarch64,x86_64
--- Comment #2 from amker at gcc dot gnu.org ---
So the same issue happens on x86_64 too:
$ ./g++ -O3 -fdump-tree-optimized uneq.cc -o uneq.O3.exe -mavx2
$ ./uneq.O3.exe
$ echo $?
1
And:
$ ./g++ -O2 -fdump-tree-optimized uneq.cc -o uneq.O2.exe -mavx2
$ ./uneq.O2.exe
$ echo $?
0
Note I increased iteration number to get it vectorized.