search for: accclass

Displaying 2 results from an estimated 2 matches for "accclass".

2008 Jan 17
2
[LLVMdev] specifying accumulator based load/stores
I have load / store instructions that require accumulator. So a store looks like.. mov 3, acc st acc, addr I have specified "acc" as a separate register class containing only one register which is the "acc". The instr patterns are then splitted into: set imm:$src, ACCClass:$dst (generating the "mov" above) set ACCClass:$src, mem:$dst (generating the "st" above) The problem with the generated code is incorrectly assuming that value in "acc" is still live. for example, for code like below a = 3; b = 4; c = 3; it generate...
2008 Jan 17
0
[LLVMdev] specifying accumulator based load/stores
...accumulator. > So a store looks like.. > > mov 3, acc > st acc, addr > > I have specified "acc" as a separate register class containing only > one register which is the "acc". > The instr patterns are then splitted into: > > set imm:$src, ACCClass:$dst (generating the "mov" above) > set ACCClass:$src, mem:$dst (generating the "st" above) > > > The problem with the generated code is incorrectly assuming that > value in "acc" is still live. > for example, for code like below > > a...