search for: const_island_set_reg

Displaying 5 results from an estimated 5 matches for "const_island_set_reg".

2013 Oct 15
0
[LLVMdev] module level assembly optimization
...g data to an island changes offsets, etc. It is also easy to notice how hard it is to test a pass like that that is nested deep inside codegen. My thought at the time was that it would be nice to implement the pass in the assembler itself by having codegen use pseudo instructions. Something like .const_island_set_reg r4, 0x12345678 The assembler would then be responsible for creating the islands and producing a load (or using something like movw + movt if it was better in that case. The advantages would be * The assembler already naturally handles exact addresses. * It would be much easier to test. * It would...
2013 Oct 15
2
[LLVMdev] module level assembly optimization
...tc. It is also easy to notice how > hard it is to test a pass like that that is nested deep inside > codegen. > > My thought at the time was that it would be nice to implement the pass > in the assembler itself by having codegen use pseudo instructions. > Something like > > .const_island_set_reg r4, 0x12345678 > > The assembler would then be responsible for creating the islands and > producing a load (or using something like movw + movt if it was better > in that case. > > The advantages would be > * The assembler already naturally handles exact addresses. > * It wo...
2013 Oct 15
5
[LLVMdev] module level assembly optimization
I would like to do constant pools over an entire module instead of just on a per function basis as constant islands does it now. It seems there are two options for this: 1) collect the machine functions with their machine instructions for the whole module, edit them as needed and then call asmprinter for them one at a time. 2) collect all the instruction streams and store them in lists, one
2013 Oct 15
0
[LLVMdev] module level assembly optimization
...w >> hard it is to test a pass like that that is nested deep inside >> codegen. >> >> My thought at the time was that it would be nice to implement the pass >> in the assembler itself by having codegen use pseudo instructions. >> Something like >> >> .const_island_set_reg r4, 0x12345678 >> >> The assembler would then be responsible for creating the islands and >> producing a load (or using something like movw + movt if it was better >> in that case. >> >> The advantages would be >> * The assembler already naturally handles e...
2013 Oct 17
1
[LLVMdev] module level assembly optimization
.... It is also easy to notice how > hard it is to test a pass like that that is nested deep inside > codegen. > > My thought at the time was that it would be nice to implement the pass > in the assembler itself by having codegen use pseudo instructions. > Something like > > .const_island_set_reg r4, 0x12345678 > > The assembler would then be responsible for creating the islands and > producing a load (or using something like movw + movt if it was better > in that case. > > The advantages would be > * The assembler already naturally handles exact addresses. > * It...