diff options
Diffstat (limited to 'test/MC/Disassembler/AMDGPU/vop3_vi.txt')
-rw-r--r-- | test/MC/Disassembler/AMDGPU/vop3_vi.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/AMDGPU/vop3_vi.txt b/test/MC/Disassembler/AMDGPU/vop3_vi.txt index c15fbaa1e3a8..a1cc1f06c3cb 100644 --- a/test/MC/Disassembler/AMDGPU/vop3_vi.txt +++ b/test/MC/Disassembler/AMDGPU/vop3_vi.txt @@ -81,6 +81,24 @@ # VI: v_clrexcp ; encoding: [0x00,0x00,0x75,0xd1,0x00,0x00,0x00,0x00] 0x00 0x00 0x75 0xd1 0x00 0x00 0x00 0x00 +# VI: v_fract_f64_e64 v[5:6], s[2:3] ; encoding: [0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x00] +0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x00 + +# VI: v_fract_f64_e64 v[5:6], -4.0 ; encoding: [0x05,0x00,0x72,0xd1,0xf7,0x00,0x00,0x00] +0x05,0x00,0x72,0xd1,0xf7,0x00,0x00,0x00 + +# VI: v_fract_f64_e64 v[5:6], -s[2:3] ; encoding: [0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x20] +0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x20 + +# VI: v_fract_f64_e64 v[5:6], |s[2:3]| ; encoding: [0x05,0x01,0x72,0xd1,0x02,0x00,0x00,0x00] +0x05,0x01,0x72,0xd1,0x02,0x00,0x00,0x00 + +# VI: v_fract_f64_e64 v[5:6], s[2:3] clamp ; encoding: [0x05,0x80,0x72,0xd1,0x02,0x00,0x00,0x00] +0x05,0x80,0x72,0xd1,0x02,0x00,0x00,0x00 + +# VI: v_fract_f64_e64 v[5:6], s[2:3] mul:2 ; encoding: [0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x08] +0x05,0x00,0x72,0xd1,0x02,0x00,0x00,0x08 + # VI: v_fract_f32_e64 v1, -v2 ; encoding: [0x01,0x00,0x5b,0xd1,0x02,0x01,0x00,0x20] 0x01 0x00 0x5b 0xd1 0x02 0x01 0x00 0x20 |