summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-10 08:39:47 +0000
committerkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-10 08:39:47 +0000
commite0de85135eb2a5dcf4a3f414e4de73cea208dd68 (patch)
treeca1d53687190eb7e729d78cb8eeb43f5476f98b7 /gcc
parente208bd44f4cec1c63d914b7b1d4d9a76aad5f649 (diff)
downloadgcc-e0de85135eb2a5dcf4a3f414e4de73cea208dd68.tar.gz
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix builtin
target mask of __builtin_ia32_rdseed_di_step. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190287 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f047b141fc7..b88e404c291 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-10 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
+
+ * config/i386/i386.c (ix86_init_mmx_sse_builtins): Fix builtin
+ target mask of __builtin_ia32_rdseed_di_step.
+
2012-08-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54027
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 7a9e1345c77..3ec4da51835 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -27963,7 +27963,7 @@ ix86_init_mmx_sse_builtins (void)
INT_FTYPE_PUSHORT, IX86_BUILTIN_RDSEED16_STEP);
def_builtin (OPTION_MASK_ISA_RDSEED, "__builtin_ia32_rdseed_si_step",
INT_FTYPE_PUNSIGNED, IX86_BUILTIN_RDSEED32_STEP);
- def_builtin (OPTION_MASK_ISA_RDSEED && OPTION_MASK_ISA_64BIT,
+ def_builtin (OPTION_MASK_ISA_RDSEED | OPTION_MASK_ISA_64BIT,
"__builtin_ia32_rdseed_di_step",
INT_FTYPE_PULONGLONG, IX86_BUILTIN_RDSEED64_STEP);