Commit 7a9aba6c by Janis Johnson

i386.md (prefetch): Rename as prefetch_sse to avoid conflicts with new generic…

i386.md (prefetch): Rename as prefetch_sse to avoid conflicts with new generic prefetch functionality.

	* config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
	  conflicts with new generic prefetch functionality.
	* config/i386/i386.c (ix86_expand_builtin): Use new name for
	  prefetch_sse.

From-SVN: r47577
parent cc164822
...@@ -11889,7 +11889,7 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore) ...@@ -11889,7 +11889,7 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore)
return copy_to_mode_reg (SImode, target); return copy_to_mode_reg (SImode, target);
case IX86_BUILTIN_PREFETCH: case IX86_BUILTIN_PREFETCH:
icode = CODE_FOR_prefetch; icode = CODE_FOR_prefetch_sse;
arg0 = TREE_VALUE (arglist); arg0 = TREE_VALUE (arglist);
arg1 = TREE_VALUE (TREE_CHAIN (arglist)); arg1 = TREE_VALUE (TREE_CHAIN (arglist));
op0 = expand_expr (arg0, NULL_RTX, VOIDmode, 0); op0 = expand_expr (arg0, NULL_RTX, VOIDmode, 0);
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
;; 32 This is a `maskmov' operation. ;; 32 This is a `maskmov' operation.
;; 33 This is a `movmsk' operation. ;; 33 This is a `movmsk' operation.
;; 34 This is a `non-temporal' move. ;; 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. ;; 36 This is used to distinguish COMISS from UCOMISS.
;; 37 This is a `ldmxcsr' operation. ;; 37 This is a `ldmxcsr' operation.
;; 38 This is a forced `movaps' instruction (rather than whatever movti does) ;; 38 This is a forced `movaps' instruction (rather than whatever movti does)
...@@ -19333,7 +19333,7 @@ ...@@ -19333,7 +19333,7 @@
[(set_attr "type" "sse") [(set_attr "type" "sse")
(set_attr "memory" "unknown")]) (set_attr "memory" "unknown")])
(define_insn "prefetch" (define_insn "prefetch_sse"
[(unspec [(match_operand:SI 0 "address_operand" "p") [(unspec [(match_operand:SI 0 "address_operand" "p")
(match_operand:SI 1 "immediate_operand" "n")] 35)] (match_operand:SI 1 "immediate_operand" "n")] 35)]
"TARGET_SSE || TARGET_3DNOW_A" "TARGET_SSE || TARGET_3DNOW_A"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment