search for: insertatendofbasicblock

Displaying 3 results from an estimated 3 matches for "insertatendofbasicblock".

2006 Nov 20
0
[LLVMdev] FP emulation (continued)
On Fri, 17 Nov 2006, Roman Levenstein wrote: > I still have some questions about FP emulation for my embedded target. > To recap a bit: > My target only has integer registers and no hardware support for FP. FP > is supported only via emulation. Only f64 is supported. All FP > operations should be implemented to use i32 registers. ok > allocation. But anyway, I have an almost
2006 Nov 17
2
[LLVMdev] FP emulation (continued)
Hi, I still have some questions about FP emulation for my embedded target. To recap a bit: My target only has integer registers and no hardware support for FP. FP is supported only via emulation. Only f64 is supported. All FP operations should be implemented to use i32 registers. Based on the fruitful discussions on this list I was already able to implement mapping of the FP operations to
2006 Nov 20
3
[LLVMdev] FP emulation (continued)
...ion? I have not found any easy way to do it yet. For post-RA pass it is very easy and supported, but for pre-RA or post-code-selection - it is non obvious. I was thinking about to possibilities: 1) Mark all f64 load/store/move target insns as usesCustomDAGSchedInserter = 1 and then intercept in the InsertAtEndOfBasicBlock() their expansion. This should be fine, since at this stage machine insns are still using the virtual registers and it happens before register allocation. Then this function could expand them into pairs of insns operating on i32 virtual regs. The problem here is that InsertAtEndOfBasicBlock() is ca...