Ping Patch: PR target/24879: SSE3 intrinsic bug
H. J. Lu
hjl@lucon.org
Tue May 2 18:51:00 GMT 2006
On Mon, May 01, 2006 at 11:41:16PM -0700, Ian Lance Taylor wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
>
> > On Mon, Jan 16, 2006 at 11:12:06AM -0800, H. J. Lu wrote:
> > > Could someone please comment this:
> > >
> > > http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01195.html
>
> I took a look at this and the follow-on patch
> http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01303.html
>
> I don't understand why the definition of __builtin_ia32_monitor and
> __builtin_ia32_mwait change for 64-bit mode. As I understand it, they
> always take two SImode values. So it seems to me that the type should
> be the same for both, whether you are in 32-bit mode or 64-bit mode.
>
The IA32 SDM isn't very clear for this. I have checked with our chip
people. The 64bit version should be
mwait %rax,%rcx
monitor %eax,%rcx,%rdx
I checked in this patch
http://sourceware.org/ml/binutils/2005-11/msg00302.html
to address it in binutils.
H.J.
More information about the Gcc-patches
mailing list