This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23983] the altivec builtins should be marked as pure/const
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2008 20:42:13 -0000
- Subject: [Bug target/23983] the altivec builtins should be marked as pure/const
- References: <bug-23983-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2008-03-12 20:42 -------
So what is happening is we don't model the SAT bit of VSCR on the tree level
(in the builtins) so the saturated builtins cannot be marked as const. They
are modeled correctly at the RTL level though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23983