OSDN Git Service

* config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Dec 2001 00:40:21 +0000 (00:40 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Dec 2001 00:40:21 +0000 (00:40 +0000)
  conflicts with new generic prefetch functionality.
* config/i386/i386.c (ix86_expand_builtin): Use new name for
  prefetch_sse.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47577 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/i386.c
gcc/config/i386/i386.md

index 410b310..f0126df 100644 (file)
@@ -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);
index 74e2bea..783aad0 100644 (file)
@@ -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)
   [(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"