This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix an SSE 3 typo in config/i386/{i386,sse}.md


UNSPEC_LDQQU was used on instruction lddqu by accident. This patch
replaces UNSPEC_LDQQU with UNSPEC_LDDQU. OK for mainline and 4.1?


H.J.
---
2006-02-24  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.md (UNSPEC_LDQQU): Renamed to ...
	(UNSPEC_LDDQU): This.
	* config/i386/sse.md (sse3_lddqu): Updated.

--- gcc/config/i386/i386.md.mni	2006-02-06 16:56:16.000000000 -0800
+++ gcc/config/i386/i386.md	2006-02-24 11:27:59.000000000 -0800
@@ -104,7 +104,7 @@
    (UNSPEC_MFENCE		44)
    (UNSPEC_LFENCE		45)
    (UNSPEC_PSADBW		46)
+   (UNSPEC_LDDQU		47)
-   (UNSPEC_LDQQU		47)
 
    ; Generic math support
    (UNSPEC_COPYSIGN		50)
--- gcc/config/i386/sse.md.mni	2006-02-24 11:27:59.000000000 -0800
+++ gcc/config/i386/sse.md	2006-02-24 11:27:59.000000000 -0800
@@ -259,7 +259,7 @@
 (define_insn "sse3_lddqu"
   [(set (match_operand:V16QI 0 "register_operand" "=x")
 	(unspec:V16QI [(match_operand:V16QI 1 "memory_operand" "m")]
+		      UNSPEC_LDDQU))]
-		      UNSPEC_LDQQU))]
   "TARGET_SSE3"
   "lddqu\t{%1, %0|%0, %1}"
   [(set_attr "type" "ssecvt")


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]