brintos

brintos / llvm-project-archived public Read only

0
0
Text · 7.9 KiB · faccfbf Raw
149 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx906 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX906-ERR %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx942 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX942-ERR %s3// RUN: llvm-mc -triple=amdgcn -mcpu=gfx950 -show-encoding < %s | FileCheck --check-prefix=GFX950 %s4// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -show-encoding %s 2>&1 | FileCheck -check-prefix=GFX12-ERR %s5 6v_cvt_pk_bf16_f32 v5, v1, v27// GFX906-ERR: error: instruction not supported on this GPU8// GFX942-ERR: error: instruction not supported on this GPU9// GFX950: v_cvt_pk_bf16_f32 v5, v1, v2            ; encoding: [0x05,0x00,0x68,0xd2,0x01,0x05,0x02,0x00]10// GFX12-ERR: error: instruction not supported on this GPU11 12v_cvt_pk_bf16_f32 v5, v255, v25513// GFX906-ERR: error: instruction not supported on this GPU14// GFX942-ERR: error: instruction not supported on this GPU15// GFX950: v_cvt_pk_bf16_f32 v5, v255, v255        ; encoding: [0x05,0x00,0x68,0xd2,0xff,0xff,0x03,0x00]16// GFX12-ERR: error: instruction not supported on this GPU17 18v_cvt_pk_bf16_f32 v5, v1, s219// GFX906-ERR: error: instruction not supported on this GPU20// GFX942-ERR: error: instruction not supported on this GPU21// GFX950: v_cvt_pk_bf16_f32 v5, v1, s2           ; encoding: [0x05,0x00,0x68,0xd2,0x01,0x05,0x00,0x00]22// GFX12-ERR: error: instruction not supported on this GPU23 24v_cvt_pk_bf16_f32 v5, m0, 0.525// GFX906-ERR: error: instruction not supported on this GPU26// GFX942-ERR: error: instruction not supported on this GPU27// GFX950: v_cvt_pk_bf16_f32 v5, m0, 0.5           ; encoding: [0x05,0x00,0x68,0xd2,0x7c,0xe0,0x01,0x00]28// GFX12-ERR: error: instruction not supported on this GPU29 30v_cvt_pk_bf16_f32 v5, -1, exec_hi31// GFX906-ERR: error: instruction not supported on this GPU32// GFX942-ERR: error: instruction not supported on this GPU33// GFX950: v_cvt_pk_bf16_f32 v5, -1, exec_hi       ; encoding: [0x05,0x00,0x68,0xd2,0xc1,0xfe,0x00,0x00]34// GFX12-ERR: error: instruction not supported on this GPU35 36v_cvt_pk_bf16_f32 v5, 0.5, m0 mul:237// GFX906-ERR: error: instruction not supported on this GPU38// GFX942-ERR: error: instruction not supported on this GPU39// GFX950: v_cvt_pk_bf16_f32 v5, 0.5, m0 mul:2     ; encoding: [0x05,0x00,0x68,0xd2,0xf0,0xf8,0x00,0x08]40// GFX12-ERR: error: instruction not supported on this GPU41 42v_bitop3_b32 v5, v1, v2, s343// GFX906-ERR: error: instruction not supported on this GPU44// GFX942-ERR: error: instruction not supported on this GPU45// GFX950: v_bitop3_b32 v5, v1, v2, s3             ; encoding: [0x05,0x00,0x34,0xd2,0x01,0x05,0x0e,0x00]46// GFX12-ERR: error: instruction not supported on this GPU47 48v_bitop3_b32 v5, v1, v2, s3 bitop3:16149// GFX906-ERR: error: instruction not supported on this GPU50// GFX942-ERR: error: instruction not supported on this GPU51// GFX950: v_bitop3_b32 v5, v1, v2, s3 bitop3:0xa1 ; encoding: [0x05,0x04,0x34,0xd2,0x01,0x05,0x0e,0x30]52// GFX12-ERR: error: instruction not supported on this GPU53 54v_bitop3_b32 v5, m0, 0.5, m0 bitop3:555// GFX906-ERR: error: instruction not supported on this GPU56// GFX942-ERR: error: instruction not supported on this GPU57// GFX950: v_bitop3_b32 v5, m0, 0.5, m0 bitop3:5   ; encoding: [0x05,0x00,0x34,0xd2,0x7c,0xe0,0xf1,0xa1]58// GFX12-ERR: error: instruction not supported on this GPU59 60v_bitop3_b32 v5, 0.5, m0, 0.5 bitop3:10161// GFX906-ERR: error: instruction not supported on this GPU62// GFX942-ERR: error: instruction not supported on this GPU63// GFX950: v_bitop3_b32 v5, 0.5, m0, 0.5 bitop3:0x65 ; encoding: [0x05,0x04,0x34,0xd2,0xf0,0xf8,0xc0,0xab]64// GFX12-ERR: error: instruction not supported on this GPU65 66v_bitop3_b16 v5, v1, v2, s367// GFX906-ERR: error: instruction not supported on this GPU68// GFX942-ERR: error: instruction not supported on this GPU69// GFX950: v_bitop3_b16 v5, v1, v2, s3             ; encoding: [0x05,0x00,0x33,0xd2,0x01,0x05,0x0e,0x00]70// GFX12-ERR: error: instruction not supported on this GPU71 72v_bitop3_b16 v5, v1, v2, s3 bitop3:16173// GFX906-ERR: error: instruction not supported on this GPU74// GFX942-ERR: error: instruction not supported on this GPU75// GFX950: v_bitop3_b16 v5, v1, v2, s3 bitop3:0xa1 ; encoding: [0x05,0x04,0x33,0xd2,0x01,0x05,0x0e,0x30]76// GFX12-ERR: error: instruction not supported on this GPU77 78v_ashr_pk_i8_i32 v2, s4, v7, v879// GFX906-ERR: error: instruction not supported on this GPU80// GFX942-ERR: error: instruction not supported on this GPU81// GFX950: v_ashr_pk_i8_i32 v2, s4, v7, v8         ; encoding: [0x02,0x00,0x65,0xd2,0x04,0x0e,0x22,0x04]82// GFX12-ERR: error: instruction not supported on this GPU83 84v_ashr_pk_i8_i32 v2, v4, 0, 185// GFX906-ERR: error: instruction not supported on this GPU86// GFX942-ERR: error: instruction not supported on this GPU87// GFX950: v_ashr_pk_i8_i32 v2, v4, 0, 1           ; encoding: [0x02,0x00,0x65,0xd2,0x04,0x01,0x05,0x02]88// GFX12-ERR: error: instruction not supported on this GPU89 90v_ashr_pk_i8_i32 v2, v4, 3, s291// GFX906-ERR: error: instruction not supported on this GPU92// GFX942-ERR: error: instruction not supported on this GPU93// GFX950: v_ashr_pk_i8_i32 v2, v4, 3, s2          ; encoding: [0x02,0x00,0x65,0xd2,0x04,0x07,0x09,0x00]94// GFX12-ERR: error: instruction not supported on this GPU95 96v_ashr_pk_i8_i32 v2, s4, 4, v297// GFX906-ERR: error: instruction not supported on this GPU98// GFX942-ERR: error: instruction not supported on this GPU99// GFX950: v_ashr_pk_i8_i32 v2, s4, 4, v2          ; encoding: [0x02,0x00,0x65,0xd2,0x04,0x08,0x09,0x04]100// GFX12-ERR: error: instruction not supported on this GPU101 102v_ashr_pk_i8_i32 v2, v4, v7, 0.5103// GFX906-ERR: error: instruction not supported on this GPU104// GFX942-ERR: error: instruction not supported on this GPU105// GFX950: v_ashr_pk_i8_i32 v2, v4, v7, 0.5        ; encoding: [0x02,0x00,0x65,0xd2,0x04,0x0f,0xc2,0x03]106// GFX12-ERR: error: instruction not supported on this GPU107 108v_ashr_pk_i8_i32 v1, v2, v3, v4 op_sel:[0,0,0,1]109// GFX906-ERR: error: instruction not supported on this GPU110// GFX942-ERR: error: instruction not supported on this GPU111// GFX950: v_ashr_pk_i8_i32 v1, v2, v3, v4 op_sel:[0,0,0,1] ; encoding: [0x01,0x40,0x65,0xd2,0x02,0x07,0x12,0x04]112// GFX12-ERR: error: instruction not supported on this GPU113 114v_ashr_pk_u8_i32 v2, s4, v7, v8115// GFX906-ERR: error: instruction not supported on this GPU116// GFX942-ERR: error: instruction not supported on this GPU117// GFX950: v_ashr_pk_u8_i32 v2, s4, v7, v8         ; encoding: [0x02,0x00,0x66,0xd2,0x04,0x0e,0x22,0x04]118// GFX12-ERR: error: instruction not supported on this GPU119 120v_ashr_pk_u8_i32 v2, v4, 0, 1121// GFX906-ERR: error: instruction not supported on this GPU122// GFX942-ERR: error: instruction not supported on this GPU123// GFX950: v_ashr_pk_u8_i32 v2, v4, 0, 1           ; encoding: [0x02,0x00,0x66,0xd2,0x04,0x01,0x05,0x02]124// GFX12-ERR: error: instruction not supported on this GPU125 126v_ashr_pk_u8_i32 v2, v4, 3, s2127// GFX906-ERR: error: instruction not supported on this GPU128// GFX942-ERR: error: instruction not supported on this GPU129// GFX950: v_ashr_pk_u8_i32 v2, v4, 3, s2          ; encoding: [0x02,0x00,0x66,0xd2,0x04,0x07,0x09,0x00]130// GFX12-ERR: error: instruction not supported on this GPU131 132v_ashr_pk_u8_i32 v2, s4, 4, v2133// GFX906-ERR: error: instruction not supported on this GPU134// GFX942-ERR: error: instruction not supported on this GPU135// GFX950: v_ashr_pk_u8_i32 v2, s4, 4, v2          ; encoding: [0x02,0x00,0x66,0xd2,0x04,0x08,0x09,0x04]136// GFX12-ERR: error: instruction not supported on this GPU137 138v_ashr_pk_u8_i32 v2, v4, v7, -2.0139// GFX906-ERR: error: instruction not supported on this GPU140// GFX942-ERR: error: instruction not supported on this GPU141// GFX950: v_ashr_pk_u8_i32 v2, v4, v7, -2.0       ; encoding: [0x02,0x00,0x66,0xd2,0x04,0x0f,0xd6,0x03]142// GFX12-ERR: error: instruction not supported on this GPU143 144v_ashr_pk_u8_i32 v1, v2, v3, v4 op_sel:[0,0,0,1]145// GFX906-ERR: error: instruction not supported on this GPU146// GFX942-ERR: error: instruction not supported on this GPU147// GFX950: v_ashr_pk_u8_i32 v1, v2, v3, v4 op_sel:[0,0,0,1] ; encoding: [0x01,0x40,0x66,0xd2,0x02,0x07,0x12,0x04]148// GFX12-ERR: error: instruction not supported on this GPU149