mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
5d627c5c6b
See bug 47518 (https://bugs.llvm.org/show_bug.cgi?id=47518) Reviewers: rampitec Differential Revision: https://reviews.llvm.org/D91793
26 lines
1.2 KiB
ArmAsm
26 lines
1.2 KiB
ArmAsm
// RUN: not llvm-mc -arch=amdgcn -mcpu=bonaire %s 2>&1 | FileCheck %s --implicit-check-not=error: --strict-whitespace
|
|
|
|
//==============================================================================
|
|
// d16 modifier is not supported on this GPU
|
|
|
|
image_gather4 v[5:6], v1, s[8:15], s[12:15] dmask:0x1 d16
|
|
// CHECK: error: d16 modifier is not supported on this GPU
|
|
// CHECK-NEXT:{{^}}image_gather4 v[5:6], v1, s[8:15], s[12:15] dmask:0x1 d16
|
|
// CHECK-NEXT:{{^}} ^
|
|
|
|
//==============================================================================
|
|
// integer clamping is not supported on this GPU
|
|
|
|
v_add_co_u32 v84, s[4:5], v13, v31 clamp
|
|
// CHECK: error: integer clamping is not supported on this GPU
|
|
// CHECK-NEXT:{{^}}v_add_co_u32 v84, s[4:5], v13, v31 clamp
|
|
// CHECK-NEXT:{{^}} ^
|
|
|
|
//==============================================================================
|
|
// literal operands are not supported
|
|
|
|
v_and_b32_e64 v0, 0.159154943091895317852646485335, v1
|
|
// CHECK: error: literal operands are not supported
|
|
// CHECK-NEXT:{{^}}v_and_b32_e64 v0, 0.159154943091895317852646485335, v1
|
|
// CHECK-NEXT:{{^}} ^
|