[LLVMdev] ABI for i128 on x86-32?

Evan Cheng evan.cheng at apple.com
Wed Feb 27 10:03:43 PST 2008


BTW, I think the type name for i128 is intmax_t and uintmax_t (see  
inttypes.h).

Evan
On Feb 27, 2008, at 9:58 AM, Evan Cheng wrote:

> I think it's returned in 4 registers: eax, edx, esi, edi. Can someone
> confirm?
>
> Evan
>
> On Feb 27, 2008, at 8:33 AM, gohman at apple.com wrote:
>
>> Hello,
>>
>> Does anyone know of any precedent for handling i128 in the
>> calling convention on x86-32? I'm trying to write a testcase
>> that returns an i128 value, and LLVM currently has only two
>> 32-bit GPRs designated for returning integer values on x86-32.
>>
>> Dan
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list