search for: qr0

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

Did you mean: cr0
2020 Feb 12
3
Function Return Legalization
...is assigned to a 16-bit register (In our case, ER0). This is done by assigning the frame pointer register into ER0 and then adding the offset to it. So the output assembly code would somewhat look like the following: Expected Target ASM output for i64 function call with i64 return type: 1 push qr0 ;; 64-bit parameter pushed into the stack 2 mov er0, fp ;; Assign the frame pointer into er0 3 add er0, #-32 ;; Add the frame pointer offset to er0 4 bl _fn ;; Function call fn 5 add sp, #8 ;; SP adjustm...
2020 Feb 14
2
Function Return Legalization
...de (starting from the EntryToken). Refer to dag_sret_proc.pdf for the DAG visualization for this. sret-demotion automatically sets er0(16-bit register, copied into Register %0) as a livein function argument containing the return memory location in LowerFormalArguments. er0 is a sub register of the qr0(i64 register) used in the processing. I think I was not able to inform the backend that if qr0 is modified, er0 is modified as well. Is there a way to do this? What classes/functions should I look into so that Register %1 will not be killed? I am considering to create a custom select function for...
2020 Feb 18
2
Function Return Legalization
...de (starting from the EntryToken). Refer to dag_sret_proc.pdf for the DAG visualization for this. sret-demotion automatically sets er0(16-bit register, copied into Register %0) as a livein function argument containing the return memory location in LowerFormalArguments. er0 is a sub register of the qr0(i64 register) used in the processing. I think I was not able to inform the backend that if qr0 is modified, er0 is modified as well. Is there a way to do this? What classes/functions should I look into so that Register %1 will not be killed? I am considering to create a custom select function for...