Displaying 3 results from an estimated 3 matches for "reserved_c_stack_bytes".
2012 Jun 29
1
[LLVMdev] Request for merge: GHC/ARM calling convention.
...* the whatever way C returns a value.
*
* NOTE: StgRun/StgReturn do *NOT* load or store Hp or any other registers
* (other than saving the C callee-saves registers). Instead, the called
* function "f" must do that in STG land.
*
* We also initially make sure that there are @RESERVED_C_STACK_BYTES@
on the
* C-stack. This is done to reserve some space for the allocation of
* temporaries in STG code.
If you are then curious how ARM-specific StgRun implementation looks,
then here it is:
#ifdef arm_HOST_ARCH
#if defined(__thumb__)
#define THUMB_FUNC ".thumb\n\t.thumb_func\n\t"...
2012 Jun 29
0
[LLVMdev] Request for merge: GHC/ARM calling convention.
On 29 June 2012 17:46, Karel Gardas <karel.gardas at centrum.cz> wrote:
> Yes and no. Shortly: original GHC/ARM/LLVM port was done by Stephen on
> ARMv5/Qemu IIRC. I've later added whole VFP support and ARMv7 support. The
> code in GHC is properly #ifdefed, so if there is no VFP available on pre
> ARMv6, then it's not used. ie. GHC STG floating points regs are then
>
2012 Jun 29
2
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Renato,
On 06/25/12 12:13 AM, Renato Golin wrote:
> Hi Karel,
>
> I understand this patch has already been merged (to 3.0), so don't
> take my question as stopping the merge to head, I'm just making sure I
> got it right... The rest looks correct.
>
> + CCIfType<[v2f64], CCAssignToReg<[Q4, Q5]>>,
> + CCIfType<[f64], CCAssignToReg<[D8, D9,