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_gothw0_last_gothw0_got, but it also
checks that the value does not overflow.
hw1_last_gotplthw0_plthw1_plthw1_last_plthw1_plt, but it also
checks that the value does not overflow.
hw2_last_plthw0_tls_gdhw0_last_tls_gdhw0_tls_gd, but it also
checks that the value does not overflow.
hw1_last_tls_gdhw0_tls_iehw0_last_tls_iehw0_tls_ie, but it also
checks that the value does not overflow.
hw1_last_tls_iehw0_tls_lehw0_last_tls_lehw0_tls_le, but it also
checks that the value does not overflow.
hw1_last_tls_letls_gd_calltls_gd_addtls_ie_load