An example of the code for the local executable TLS code model is shown below:
add:
sethi %tle_hix22(sum),%o3
xor %o3,%tle_lox10(sum),%o2
ld [%g7+%o2],%o1
add %o1,%o0,%g4
retl
st %g4,[%g7+%o2]It takes two instructions to form the address of sum. The operators act as follows:
|