public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* bad assembly generated for __builtin_ia32_clflush
@ 2004-07-08 13:40 Jan Beulich
  2004-07-10  1:29 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2004-07-08 13:40 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

This fixes one of the problems uncovered by the previously sent ix86
MMX/SSE
testsuite additions.

Jan

2004-07-08 Jan Beulich <jbeulich@novell.com>

	* config/i386/i386.md (sse2_clflush): Use correct operand for
clflush.

---
/home/jbeulich/src/gcc/mainline/2004-07-05.10.09/gcc/config/i386/i386.md	2004-07-02
15:20:47.000000000 +0200
+++ 2004-07-05.10.09/gcc/config/i386/i386.md	2004-07-07
15:26:23.029339392 +0200
@@ -23906,7 +23906,7 @@
   [(unspec_volatile [(match_operand 0 "address_operand" "p")]
 		    UNSPECV_CLFLUSH)]
   "TARGET_SSE2"
-  "clflush %0"
+  "clflush\t%a0"
   [(set_attr "type" "sse")
    (set_attr "memory" "unknown")])
 


[-- Attachment #2: gcc-mainline-x86-clflush.patch --]
[-- Type: application/octet-stream, Size: 704 bytes --]

This fixes one of the problems (bad assembler code generated for
__builtin_ia32_clflush) uncovered by the previously sent ix86 MMX/SSE
testsuite additions.

Jan

2004-07-08 Jan Beulich <jbeulich@novell.com>

	* config/i386/i386.md (sse2_clflush): Use correct operand for clflush.

--- /home/jbeulich/src/gcc/mainline/2004-07-05.10.09/gcc/config/i386/i386.md	2004-07-02 15:20:47.000000000 +0200
+++ 2004-07-05.10.09/gcc/config/i386/i386.md	2004-07-07 15:26:23.029339392 +0200
@@ -23906,7 +23906,7 @@
   [(unspec_volatile [(match_operand 0 "address_operand" "p")]
 		    UNSPECV_CLFLUSH)]
   "TARGET_SSE2"
-  "clflush %0"
+  "clflush\t%a0"
   [(set_attr "type" "sse")
    (set_attr "memory" "unknown")])
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bad assembly generated for __builtin_ia32_clflush
  2004-07-08 13:40 bad assembly generated for __builtin_ia32_clflush Jan Beulich
@ 2004-07-10  1:29 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2004-07-10  1:29 UTC (permalink / raw)
  To: Jan Beulich; +Cc: gcc-patches

On Thu, Jul 08, 2004 at 02:28:51PM +0200, Jan Beulich wrote:
> 	* config/i386/i386.md (sse2_clflush): Use correct operand for clflush.

Applied.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-09 23:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-08 13:40 bad assembly generated for __builtin_ia32_clflush Jan Beulich
2004-07-10  1:29 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).