brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 3a8656c Raw
24 lines · plain
1// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -mattr=+wavefrontsize64 -o - %s | FileCheck -check-prefix=GFX1250 %s2// RUN: llvm-mc -triple=amdgcn -mcpu=gfx900 -mattr=+wavefrontsize32 -o - %s | FileCheck -check-prefix=GFX900 %s3 4// Make sure setting both modes is supported at the same time.5// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1010 -mattr=+wavefrontsize32,+wavefrontsize64 %s | FileCheck -check-prefixes=GFX10 %s6 7// Test that there is no assertion when using an explicit8// wavefrontsize attribute on a target which does not support it.9 10// GFX1250: v_add_f64_e32 v[0:1], 1.0, v[0:1]11// GFX900: v_add_f64 v[0:1], 1.0, v[0:1]12// GFX10: v_add_f64 v[0:1], 1.0, v[0:1]13v_add_f64 v[0:1], 1.0, v[0:1]14 15// GFX1250: v_cmp_eq_u32_e64 s[0:1], 1.0, s116// GFX900: v_cmp_eq_u32_e64 s[0:1], 1.0, s117// GFX10: v_cmp_eq_u32_e64 s[0:1], 1.0, s118v_cmp_eq_u32_e64 s[0:1], 1.0, s119 20// GFX1250: v_cndmask_b32_e64 v1, v2, v3, s[0:1]21// GFX900: v_cndmask_b32_e64 v1, v2, v3, s[0:1]22// GFX10: v_cndmask_b32_e64 v1, v2, v3, s[0:1]23v_cndmask_b32 v1, v2, v3, s[0:1]24