public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/6783: mmx intrinsics problem with -O2 and -O3 opt.
@ 2002-10-03 11:06 hubicka
  0 siblings, 0 replies; 2+ messages in thread
From: hubicka @ 2002-10-03 11:06 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gert.vervoort, nobody

Synopsis: mmx intrinsics problem with -O2 and -O3 opt.

State-Changed-From-To: open->closed
State-Changed-By: hubicka
State-Changed-When: Thu Oct  3 11:06:19 2002
State-Changed-Why:
    Fixed in gcc 3.2

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6783


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

* optimization/6783: mmx intrinsics problem with -O2 and -O3 opt.
@ 2002-05-23  4:36 gert.vervoort
  0 siblings, 0 replies; 2+ messages in thread
From: gert.vervoort @ 2002-05-23  4:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6783
>Category:       optimization
>Synopsis:       mmx intrinsics problem with -O2 and -O3 opt.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Thu May 23 04:36:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     gert.vervoort@philips.com
>Release:        gcc-3.1
>Organization:
>Environment:
vervoort@linux22 [68] > uname -a
Linux linux22 2.4.18 #2 SMP Fri Apr 19 16:21:16 CEST 2002 i686 unknown
vervoort@linux22 [69] >  /cadappl/gcc/3.1/bin/gcc -v                           
Reading specs from /cadappl/gcc/3.1/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /home/hooft/Level/Work/gcc/gcc-3.1/gcc-3.1/configure --prefix=/cadappl/gcc/3.1 --enable-shared --enable-languages=c,c++,f77
Thread model: single
gcc version 3.1
>Description:
gcc 3.1 generates wrong code when using mmx intrinsics
with '-O2' and '-O3'. '-O' works oke.
>How-To-Repeat:
vervoort@linux22 [80] >  /cadappl/gcc/3.1/bin/gcc -O -mmmx intrinsic_mmx_add.c 
vervoort@linux22 [81] > ./a.out 
11 22 33 44 55 66 77 88 
vervoort@linux22 [82] >  /cadappl/gcc/3.1/bin/gcc -O2 -mmmx intrinsic_mmx_add. 
vervoort@linux22 [83] > ./a.out                                                
68 253 2 64 255 255 42 144 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-unknown-content-type-c_auto_file; name="intrinsic_mmx_add.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="intrinsic_mmx_add.c"

I2luY2x1ZGUgPG1taW50cmluLmg+CgptYWluKCkKewogICAgdW5zaWduZWQgY2hhciBhWzhdID0g
ezEsMiwzLDQsNSw2LDcsOH07CiAgICB1bnNpZ25lZCBjaGFyIGJbOF0gPSB7MTAsMjAsMzAsNDAs
NTAsNjAsNzAsODB9OwogICAgdW5zaWduZWQgY2hhciBjWzhdID0gezAsMCwwLDAsMCwwLDAsMH07
CiAgICBfX202NCBtMCxtMSxtMjsKICAgIGludCBpOwogICAgCiAgICBtMCA9ICooX19tNjQgKilh
OwogICAgbTEgPSAqKF9fbTY0ICopYjsKICAgIG0yID0gX21tX2FkZHNfcHU4KG0wLG0xKTsKICAg
ICooX19tNjQgKiljID0gbTI7CgogICAgX21tX2VtcHR5KCk7CgogICAgZm9yKGk9MDtpPDg7aSsr
KQogICAgICAgIHByaW50ZigiJWQgIiwgY1tpXSk7CiAgICBwcmludGYoIlxuIik7CgoKfQo=


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

end of thread, other threads:[~2002-10-03 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03 11:06 optimization/6783: mmx intrinsics problem with -O2 and -O3 opt hubicka
  -- strict thread matches above, loose matches on Subject: below --
2002-05-23  4:36 gert.vervoort

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).