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:32:04 +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 #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-05-21 12:32:04 UTC ---
Author: hjl
Date: Mon May 21 12:31:45 2012
New Revision: 187709
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187709
Log:
Use unspec_volatile on rdrand<mode>_1
gcc/
PR target/53416
* config/i386/i386.md (UNSPEC_RDRAND): Renamed to ...
(UNSPECV_RDRAND): This.
(rdrand<mode>_1): Updated.
gcc/testsuite/
PR target/53416
* gcc.target/i386/pr53416.c: New file.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr53416.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.md
trunk/gcc/testsuite/ChangeLog