1 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=tahiti
-show-encoding
%s | FileCheck
-check-prefix
=SI
%s
2 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=tonga
-show-encoding
%s | FileCheck
-check-prefix
=VI
%s
4 // The value inv2pi should
not assert on any targets
, but is
5 // printed differently depending on whether it
's a legal inline
8 // SI: v_cvt_f32_f16_e32 v0, 0x3118 ; encoding: [0xff,0x16,0x00,0x7e,0x18,0x31,0x00,0x00]
9 // VI: v_cvt_f32_f16_e32 v0, 0.15915494 ; encoding: [0xf8,0x16,0x00,0x7e]
10 v_cvt_f32_f16_e32 v0, 0x3118