Displaying 8 results from an estimated 8 matches for "sub_regist".
Did you mean:
sub_register
2018 Jan 30
2
Disable spilling sub-registers in LLVM
Hi Matthias,
No. I want the register allocator to spill the super-register (the large
one e.g., 64-bit) and not just the sub-register (e.g., the 32-bit that
is a piece of of the 64-bit register) because the stack loads/store
width is 64-bit in this example.
RegClass1 (sub-registers): sub_registers (32-bit) -->
can be natively used in arithmetic operations but no stack loads/stores
for that width.
RegClass2 (super-registers): [sub_register, subregister] (64-bit) -->
can be natively used in arithmetic operations and can be used in
loads/stores.
Thanks,
Ahmed
O...
2018 Jan 30
3
Disable spilling sub-registers in LLVM
...allocator to spill the super-register (the
>> large one e.g., 64-bit) and not just the sub-register (e.g., the
>> 32-bit that is a piece of of the 64-bit register) because the stack
>> loads/store width is 64-bit in this example.
>>
>> RegClass1 (sub-registers): sub_registers (32-bit) -->
>> can be natively used in arithmetic operations but no stack
>> loads/stores for that width.
>>
>> RegClass2 (super-registers): [sub_register, subregister] (64-bit)
>> --> can be natively used in arithmetic operations and can...
2018 Jan 30
0
Disable spilling sub-registers in LLVM
...s,
>
> No. I want the register allocator to spill the super-register (the large one e.g., 64-bit) and not just the sub-register (e.g., the 32-bit that is a piece of of the 64-bit register) because the stack loads/store width is 64-bit in this example.
>
> RegClass1 (sub-registers): sub_registers (32-bit) --> can be natively used in arithmetic operations but no stack loads/stores for that width.
>
> RegClass2 (super-registers): [sub_register, subregister] (64-bit) --> can be natively used in arithmetic operations and can be used in loads/stores.
>
>
&...
2018 Jan 30
3
Disable spilling sub-registers in LLVM
...super-register (the
>>>> large one e.g., 64-bit) and not just the sub-register (e.g., the
>>>> 32-bit that is a piece of of the 64-bit register) because the stack
>>>> loads/store width is 64-bit in this example.
>>>> RegClass1 (sub-registers): sub_registers (32-bit)
>>>> --> can be natively used in arithmetic operations but no stack
>>>> loads/stores for that width.
>>>> RegClass2 (super-registers): [sub_register, subregister] (64-bit)
>>>> --> can be natively used in arithmet...
2018 Jan 30
0
Disable spilling sub-registers in LLVM
...(the
>>>>> large one e.g., 64-bit) and not just the sub-register (e.g., the
>>>>> 32-bit that is a piece of of the 64-bit register) because the stack
>>>>> loads/store width is 64-bit in this example.
>>>>> RegClass1 (sub-registers): sub_registers (32-bit)
>>>>> --> can be natively used in arithmetic operations but no stack
>>>>> loads/stores for that width.
>>>>> RegClass2 (super-registers): [sub_register, subregister] (64-bit)
>>>>> --> can be natively...
2018 Jan 30
0
Disable spilling sub-registers in LLVM
...gt;>> No. I want the register allocator to spill the super-register (the large one e.g., 64-bit) and not just the sub-register (e.g., the 32-bit that is a piece of of the 64-bit register) because the stack loads/store width is 64-bit in this example.
>>> RegClass1 (sub-registers): sub_registers (32-bit) --> can be natively used in arithmetic operations but no stack loads/stores for that width.
>>> RegClass2 (super-registers): [sub_register, subregister] (64-bit) --> can be natively used in arithmetic operations and can be used in loads/stores.
>>>...
2018 Jan 30
0
Disable spilling sub-registers in LLVM
> On Jan 29, 2018, at 1:20 PM, ahmede via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
>
> I wonder if there is a way in LLVM to disable spilling a register-class while still enabling the super-registers of this register-class to be spilled.
What would you have the register allocator do when it runs out of register and you have spilling disabled? Abort the
2018 Jan 29
2
Disable spilling sub-registers in LLVM
Hi,
I wonder if there is a way in LLVM to disable spilling a register-class
while still enabling the super-registers of this register-class to be
spilled.
If not, how can we implement spilling for sub-registers when stack
load/stores can only operate on the super registers? Is there a way even
if it is suboptimal?
Thanks,
Ahmed