search for: esi1

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

Did you mean: esi
2009 Jun 30
0
[LLVMdev] Pinning registers in LLVM
...he X86 backend that always passed the first i32 value in ESI and always returned the first i32 value in ESI. Given that, you could lower the above code to something like this pseudo code: {i32,i32} @main(i32 %in_esi) { %esi = alloca i32 store in_esi -> esi store 3 -> esi esi1 = load esi {esi2, dead} = call @printf(esi1, "register: %d\n", esi1); store esi2 -> esi esi3 = load esi esi4 = esi3*2 store esi4 -> esi esi5 = load esi {esi6, dead} = call @printf(esi5, "register: %d\n", esi5); store esi6 -> esi esi7 = load...
2009 Jun 29
4
[LLVMdev] Pinning registers in LLVM
Hi all, I'm working on using LLVM as a back-end for an existing compiler (GHC Haskell compiler) and one of the problems I'm having is pinning a global variable to a actual machine register. I've seen mixed terminology for this feature/idea, so what I mean by this is that I want to be able to put a global variable into a specified hardware register. This declaration should