diff options
| -rw-r--r-- | gcc/config/i386/i386.c | 2 | ||||
| -rw-r--r-- | gcc/config/i386/i386.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 410b310..f0126df 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -11889,7 +11889,7 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore) return copy_to_mode_reg (SImode, target); case IX86_BUILTIN_PREFETCH: - icode = CODE_FOR_prefetch; + icode = CODE_FOR_prefetch_sse; arg0 = TREE_VALUE (arglist); arg1 = TREE_VALUE (TREE_CHAIN (arglist)); op0 = expand_expr (arg0, NULL_RTX, VOIDmode, 0); diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 74e2bea..783aad0 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -81,7 +81,7 @@ ;; 32 This is a `maskmov' operation. ;; 33 This is a `movmsk' operation. ;; 34 This is a `non-temporal' move. -;; 35 This is a `prefetch' operation. +;; 35 This is a `prefetch' (SSE) operation. ;; 36 This is used to distinguish COMISS from UCOMISS. ;; 37 This is a `ldmxcsr' operation. ;; 38 This is a forced `movaps' instruction (rather than whatever movti does) @@ -19333,7 +19333,7 @@ [(set_attr "type" "sse") (set_attr "memory" "unknown")]) -(define_insn "prefetch" +(define_insn "prefetch_sse" [(unspec [(match_operand:SI 0 "address_operand" "p") (match_operand:SI 1 "immediate_operand" "n")] 35)] "TARGET_SSE || TARGET_3DNOW_A" |
