public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <200110160108.f9G18ds03501@daniel.games> (raw)

>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:


             reply	other threads:[~2001-10-15 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 18:16 Daniel [this message]
2001-12-01 14:16 optimization/4579: MMX && " rodrigc
2001-12-01 14:26 rodrigc
2002-06-20  9:06 hubicka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200110160108.f9G18ds03501@daniel.games \
    --to=daniel@daniel.games \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).