search for: load_tp_soft

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

2007 Apr 11
2
[LLVMdev] ideas for TLS implementation
....size a, 4 a: .word 1 .text .align 2 .global f .type f, %function f: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 str lr, [sp, #-4]! ldr r3, .L2 bl __aeabi_read_tp @ load_tp_soft <== get thread pointer (abi dependent) ldr r0, [r0, r3] ldr pc, [sp], #4 .L3: .align 2 .L2: .word a(tpoff) <== offset of "a" .size f, .-f The idea of implementing TLS is to create the "thread_local" keyword. The prog...
2007 Apr 11
0
[LLVMdev] ideas for TLS implementation
...xt > .align 2 > .global f > .type f, %function > f: > @ args = 0, pretend = 0, frame = 0 > @ frame_needed = 0, uses_anonymous_args = 0 > str lr, [sp, #-4]! > ldr r3, .L2 > bl __aeabi_read_tp @ load_tp_soft <== get thread pointer > (abi dependent) > ldr r0, [r0, r3] > ldr pc, [sp], #4 > .L3: > .align 2 > .L2: > .word a(tpoff) <== offset of "a" > .size f, .-f > > > The idea of implementing TLS is t...