Previous: TILE-Gx Registers, Up: TILE-Gx Syntax
The assembler supports several modifiers when using symbol addresses in TILE-Gx instruction operands. The general syntax is the following:
modifier(symbol)
The following modifiers are supported:
hw0hw1hw2hw3hw0_lasthw0, but it also checks
that the value does not overflow.
hw1_lasthw1, but it also checks
that the value does not overflow.
hw2_lasthw2, but it also checks
that the value does not overflow.
A 48-bit symbolic value is constructed by using the following idiom:
moveli r0, hw2_last(sym)
shl16insli r0, r0, hw1(sym)
shl16insli r0, r0, hw0(sym)
hw0_gothw1_gothw2_gothw3_gothw0_last_gothw0_got, but it also
checks that the value does not overflow.
hw1_last_gothw1_got, but it also
checks that the value does not overflow.
hw2_last_gothw2_got, but it also
checks that the value does not overflow.
plthw0_tls_gdhw1_tls_gdhw2_tls_gdhw3_tls_gdhw0_last_tls_gdhw0_tls_gd, but it also
checks that the value does not overflow.
hw1_last_tls_gdhw1_tls_gd, but it also
checks that the value does not overflow.
hw2_last_tls_gdhw2_tls_gd, but it also
checks that the value does not overflow.
hw0_tls_iehw1_tls_iehw2_tls_iehw3_tls_iehw0_last_tls_iehw0_tls_ie, but it also
checks that the value does not overflow.
hw1_last_tls_iehw1_tls_ie, but it also
checks that the value does not overflow.
hw2_last_tls_iehw2_tls_ie, but it also
checks that the value does not overflow.