From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel@Daniel.Games To: gcc-gnats@gcc.gnu.org Subject: optimization/4579: MMX : : Optimazation does not work Date: Mon, 15 Oct 2001 18:16:00 -0000 Message-id: <200110160108.f9G18ds03501@daniel.games> X-SW-Source: 2001-10/msg00323.html List-Id: >Number: 4579 >Category: optimization >Synopsis: MMX && Optimazation does not work >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Mon Oct 15 18:16:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Daniel Jungmann >Release: 3.1 20011015 (experimental) >Organization: >Environment: System: Linux daniel 2.4.12 #2 Mon Okt 15 21:31:09 CEST 2001 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc/configure >Description: use of MMX or 3D!Now builtins and optimazation (-O1 .. -O6) produce an "internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2638" >How-To-Repeat: typedef __v2sf __attribute__ ((mode (V2SF))); .. __v2sf a, b; long long g; g = 1; a = (__v2sf) g; b = a; b = __builtin_ia32_pfadd (a, b); g = (long long) b; if (g == 0) printf("\n"); .. >Fix: replace all "abort ();" with "return NULL_RTX" in function simplify_gen_subreg in file simplify-rtx.c line 2638 line 2642 line 2646 >Release-Note: >Audit-Trail: >Unformatted: