brintos

brintos / llvm-project-archived public Read only

0
0
Text · 684 B · 3d41e8e Raw
16 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -show-encoding < %s | FileCheck %s2// RUN: not llvm-mc -triple=amdgcn -show-encoding -filetype=null %s 2>&1 | FileCheck -check-prefix=ERR %s3// RUN: llvm-mc -triple=amdgcn -mcpu=tahiti -show-encoding < %s | FileCheck %s4 5// CHECK: v_cmp_lt_f32_e32 vcc, s2, v4            ; encoding: [0x02,0x08,0x02,0x7c]6v_cmp_lt_f32 vcc, s2, v47 8// CHECK: v_cndmask_b32_e32 v1, v2, v3, vcc       ; encoding: [0x02,0x07,0x02,0x00]9v_cndmask_b32 v1, v2, v3, vcc10 11// ERR: [[@LINE+1]]:1: error: instruction not supported on this GPU12v_mac_legacy_f32 v1, v3, s513 14// CHECK: v_lshr_b32_e32 v0, v1, v2               ; encoding: [0x01,0x05,0x00,0x2a]15v_lshr_b32 v0, v1, v216