This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
x86_64 extensions of SSE2 instruction set
- To: discuss at x86-64 dot org, binutils at sources dot redhat dot com
- Subject: x86_64 extensions of SSE2 instruction set
- From: Jan Hubicka <jh at suse dot cz>
- Date: Tue, 30 Jan 2001 20:22:46 +0100
Hi
The x86_64 architecture documents extensions to the conversion instruction
all the cvt*2si and cvtsi2* arehaving 64bit equivalents.
Problem is that in AT&T syntax
cvsss2si %xmm0, %eax is 32bit conversion
cvsss2si %xmm0, %rax is 64bit conversion
cvsss2si %xmm0, (%rax) is ambiguous
(this is resolved in the Intel syntax by qword ptr or dwrod ptr keywords)
Using the default scheme by adding 'l' or 'q' suffix don't seems to fit
here nicely (imagine cvtsi2ssq).
So I would suggest other naming probably:
cvtss2si - always 32bit
cvtss2sqi (convert scalar single to signed quad integer) - 64bit version.
Looks OK?
AMD: Maybe it would be nice to set such names for Intel syntax as well - the
SSE instructions are overall not dependent on the operands and we will stay
consistent.
Honza