mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-31 05:08:12 +02:00
Use labels instead of numeric JIP/UIP offsets. Works for gen6+. v2: - Change asm tests to use labels on gen6+ - Remove usage of relative offsets on gen6+ - Consider brw_jump_scale when setting relative offset - Return error if there is a JIP/UIP label without matching target - Fix matching of label tokens Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4245>
7 lines
408 B
NASM
7 lines
408 B
NASM
(+f0.0) if(8) JIP: LABEL0 UIP: LABEL1 { align1 1Q };
|
|
(-f0.0) if(8) JIP: LABEL0 UIP: LABEL1 { align1 1Q };
|
|
LABEL0:
|
|
(-f0.0) if(16) JIP: LABEL1 UIP: LABEL1 { align1 1H };
|
|
(+f0.0) if(16) JIP: LABEL1 UIP: LABEL1 { align1 1H };
|
|
(+f0.0) if(32) JIP: LABEL1 UIP: LABEL1 { align1 };
|
|
LABEL1:
|