brintos

brintos / llvm-project-archived public Read only

0
0
Text · 409 B · 83d5662 Raw
13 lines · plain
1// RUN: llvm-mc -triple=hexagon -mcpu=hexagonv65 -mhvx -show-encoding %s -o - | FileCheck %s2 3// TypeCVI_FIRST was set incorrectly, causing vgather not to be considered4// a vector instruction. This resulted in an incorrect encoding of the vtmp.new5// operand in the store.6// CHECK: encoding: [0x1f,0x45,0x05,0x2f,0x22,0xc0,0x21,0x28]7 8{9  if (q0) vtmp.h = vgather(r5,m0,v31.h).h10  vmem(r1+#0) = vtmp.new11}12 13