1 // RUN
: llvm-mc
-arch
=amdgcn
-show-encoding
%s | FileCheck
%s
--check-prefix
=GCN
--check-prefix
=SI
--check-prefix
=SICI
2 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=tahiti
-show-encoding
%s | FileCheck
%s
--check-prefix
=GCN
--check-prefix
=SI
--check-prefix
=SICI
3 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=bonaire
-show-encoding
%s | FileCheck
%s
--check-prefix
=GCN
--check-prefix
=SICI
--check-prefix
=CIVI
4 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=tonga
-show-encoding
%s | FileCheck
%s
--check-prefix
=GCN
--check-prefix
=CIVI
--check-prefix
=VI
6 // SICI
: v_cmp_eq_f64_e32 vcc
, 0.5, v
[254:255] ; encoding
: [0xf0,0xfc,0x45,0x7c]
7 // VI
: v_cmp_eq_f64_e32 vcc
, 0.5, v
[254:255] ; encoding
: [0xf0,0xfc,0xc5,0x7c]
8 v_cmp_eq_f64 vcc
, 0.5, v
[254:255]
10 // GCN
: v_cvt_f32_f64_e32 v0
, 0.5 ; encoding
: [0xf0,0x1e,0x00,0x7e]