This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80180] Incorrect codegen from rdseed intrinsic use
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 Mar 2017 18:11:10 +0000
- Subject: [Bug target/80180] Incorrect codegen from rdseed intrinsic use
- Auto-submitted: auto-generated
- References: <bug-80180-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80180
--- Comment #2 from uros at gcc dot gnu.org ---
Author: uros
Date: Sat Mar 25 18:10:37 2017
New Revision: 246477
URL: https://gcc.gnu.org/viewcvs?rev=246477&root=gcc&view=rev
Log:
PR target/80180
* config/i386/i386.c (ix86_expand_builtin)
<IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Do not expand arg0 between
flags reg setting and flags reg using instructions.
<IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Ditto. Use non-flags reg
clobbering instructions to zero extend op2.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/i386/i386.c