This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53416] Wrong code when optimising loop involving _rdrand32_step
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 May 2012 12:59:58 +0000
- Subject: [Bug target/53416] Wrong code when optimising loop involving _rdrand32_step
- Auto-submitted: auto-generated
- References: <bug-53416-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53416
--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-05-21 12:59:58 UTC ---
Author: hjl
Date: Mon May 21 12:59:53 2012
New Revision: 187712
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187712
Log:
Use unspec_volatile on rdrand<mode>_1
gcc/
Backport from mainline
PR target/53416
* config/i386/i386.md (UNSPEC_RDRAND): Renamed to ...
(UNSPECV_RDRAND): This.
(rdrand<mode>_1): Updated.
gcc/testsuite/
Backport from mainline
PR target/53416
* gcc.target/i386/pr53416.c: New file.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.target/i386/pr53416.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/i386/i386.md
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog