From 7a9aba6ccfd5937a67da1076801c472bd698aafd Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Tue, 4 Dec 2001 00:40:21 +0000 Subject: [PATCH] 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 --- gcc/config/i386/i386.c | 2 +- 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 410b310d7e5..f0126df3dbf 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 74e2beae9e0..783aad0c71a 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" -- 2.30.2