mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-06 08:02:18 +00:00
* [AMDGPU][mc][tests] Updated coverage/smoke tests for gfx7 and gfx8; minor test corrections.
NB: several old tests have been corrected because they violated constant bus limitations llvm-svn: 295834
This commit is contained in:
parent
43ed25f1d9
commit
4f3b96726b
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,10 @@
|
||||
// RUN: llvm-mc -arch=amdgcn -mcpu=bonaire -show-encoding %s | FileCheck %s --check-prefix=GCN --check-prefix=SICI --check-prefix=CI
|
||||
// RUN: llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s | FileCheck %s --check-prefix=GCN --check-prefix=CIVI --check-prefix=VI
|
||||
|
||||
v_mqsad_pk_u16_u8 v[0:1], s[0:1], s0, v[254:255]
|
||||
// CI: [0x00,0x00,0xe6,0xd2,0x00,0x00,0xf8,0x07]
|
||||
// VI: [0x00,0x00,0xe6,0xd1,0x00,0x00,0xf8,0x07]
|
||||
v_mqsad_pk_u16_u8 v[0:1], s[0:1], 1, v[254:255]
|
||||
// CI: [0x00,0x00,0xe6,0xd2,0x00,0x02,0xf9,0x07]
|
||||
// VI: [0x00,0x00,0xe6,0xd1,0x00,0x02,0xf9,0x07]
|
||||
|
||||
v_qsad_pk_u16_u8 v[0:1], v[0:1], s0, s[0:1]
|
||||
// CI: [0x00,0x00,0xe4,0xd2,0x00,0x01,0x00,0x00]
|
||||
// VI: [0x00,0x00,0xe5,0xd1,0x00,0x01,0x00,0x00]
|
||||
v_qsad_pk_u16_u8 v[0:1], v[0:1], 1, s[0:1]
|
||||
// CI: [0x00,0x00,0xe4,0xd2,0x00,0x03,0x01,0x00]
|
||||
// VI: [0x00,0x00,0xe5,0xd1,0x00,0x03,0x01,0x00]
|
||||
|
@ -116,9 +116,9 @@ v_cndmask_b32_e32 v1, v2, v3, vcc
|
||||
// VI: v_readlane_b32 s1, v2, s3 ; encoding: [0x01,0x00,0x89,0xd2,0x02,0x07,0x00,0x00]
|
||||
v_readlane_b32 s1, v2, s3
|
||||
|
||||
// SICI: v_writelane_b32 v1, s2, s3 ; encoding: [0x02,0x06,0x02,0x04]
|
||||
// VI: v_writelane_b32 v1, s2, s3 ; encoding: [0x01,0x00,0x8a,0xd2,0x02,0x06,0x00,0x00]
|
||||
v_writelane_b32 v1, s2, s3
|
||||
// SICI: v_writelane_b32 v1, s2, 4 ; encoding: [0x02,0x08,0x03,0x04]
|
||||
// VI: v_writelane_b32 v1, s2, 4 ; encoding: [0x01,0x00,0x8a,0xd2,0x02,0x08,0x01,0x00]
|
||||
v_writelane_b32 v1, s2, 4
|
||||
|
||||
// SICI: v_add_f32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x06]
|
||||
// VI: v_add_f32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x02]
|
||||
|
Loading…
Reference in New Issue
Block a user