[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / AMDGPU / vcmpx-gfx10.s
blobbe14d8442bd2031dc7a1fa2a040f5744d872a2b4
1 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx1010 -show-encoding < %s | FileCheck -check-prefix=GFX10 %s
3 // GFX10: v_cmpx_le_f32_e64 v1, v0 ; encoding: [0x00,0x00,0x13,0xd4,0x01,0x01,0x02,0x00]
4 v_cmpx_le_f32_e64 v1, v0
6 // GFX10: v_cmpx_le_f32_e64 -|v1|, v0 ; encoding: [0x00,0x01,0x13,0xd4,0x01,0x01,0x02,0x20]
7 v_cmpx_le_f32_e64 -|v1|, v0
9 // GFX10: v_cmpx_le_f32_e64 -|v1|, v0 ; encoding: [0x00,0x01,0x13,0xd4,0x01,0x01,0x02,0x20]
10 v_cmpx_le_f32 -|v1|, v0
12 // GFX10: v_cmpx_le_f32_e64 -|v1|, v0 clamp ; encoding: [0x00,0x81,0x13,0xd4,0x01,0x01,0x02,0x20]
13 v_cmpx_le_f32 -|v1|, v0 clamp
15 // GFX10: v_cmpx_le_f32_e32 v1, v0 ; encoding: [0x01,0x01,0x26,0x7c]
16 v_cmpx_le_f32 v1, v0
18 // GFX10: v_cmpx_le_f32_e32 v1, v0 ; encoding: [0x01,0x01,0x26,0x7c]
19 v_cmpx_le_f32_e32 v1, v0
21 // GFX10: v_cmpx_le_u32_e32 0, v0 ; encoding: [0x80,0x00,0xa6,0x7d]
22 v_cmpx_le_u32 0, v0
24 // GFX10: v_cmpx_le_u32_e32 0, v0 ; encoding: [0x80,0x00,0xa6,0x7d]
25 v_cmpx_le_u32_e32 0, v0
27 // GFX10: v_cmpx_le_u32_e64 0, v0 ; encoding: [0x00,0x00,0xd3,0xd4,0x80,0x00,0x02,0x00]
28 v_cmpx_le_u32_e64 0, v0
30 // GFX10: v_cmpx_le_f16_sdwa v3, v4 src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x08,0xb6,0x7d,0x03,0x00,0x05,0x06]
31 v_cmpx_le_f16_sdwa v3, v4 src0_sel:WORD_1 src1_sel:DWORD
33 // GFX10: v_cmpx_le_f16_sdwa v3, v4 src0_sel:WORD_1 src1_sel:DWORD ; encoding: [0xf9,0x08,0xb6,0x7d,0x03,0x00,0x05,0x06]
34 v_cmpx_le_f16 v3, v4 src0_sel:WORD_1 src1_sel:DWORD
36 // GFX10: v_cmpx_class_f32_e64 v0, 1 ; encoding: [0x00,0x00,0x98,0xd4,0x00,0x03,0x01,0x00]
37 v_cmpx_class_f32 v0, 1
39 // GFX10: v_cmpx_class_f32_e64 v0, 1 ; encoding: [0x00,0x00,0x98,0xd4,0x00,0x03,0x01,0x00]
40 v_cmpx_class_f32_e64 v0, 1