This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [trans-mem] rms-tm bug report


On 05/24/2010 10:18 AM, Aldy Hernandez wrote:
>>  DEF_PRIMITIVE_TYPE (BT_I16, builtin_type_for_size (BITS_PER_UNIT*16, 1))
>> +DEF_PRIMITIVE_TYPE (BT_I32, builtin_type_for_size (BITS_PER_UNIT*32, 1))

Using 16- and 32-byte integers isn't going to cut it.  In particular,
that may well use the wrong calling convention.  For instance, on 
x86-64 a 16-byte integer is passed in two integer registers, whereas
a vector mode is passed in one vector register.

I told you that you'd need to use callbacks into the backend for this.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]