brintos

brintos / llvm-project-archived public Read only

0
0
Text · 556 B · 530a4e6 Raw
14 lines · plain
1# RUN: not llvm-mc -triple=hexagon -mv60 -mhvx -filetype=asm %s 2>%t; FileCheck %s --check-prefix=CHECK-V60-ERROR <%t2# RUN:     llvm-mc -triple=hexagon -mv62 -mhvx -filetype=asm %s | FileCheck %s3 4// for this a v60+/hvx instruction sequence, make sure fails with v605// but passes with v62.  this is because this instruction uses different6// itinerary between v60 and v627{8  v0.h=vsat(v5.w,v9.w)9  v16.h=vsat(v6.w,v26.w)10}11# CHECK-V60-ERROR: rror: invalid instruction packet: slot error12# CHECK: v0.h = vsat(v5.w,v9.w)13# CHECK: v16.h = vsat(v6.w,v26.w)14