brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · 0061519 Raw
60 lines · plain
1# Xqcicli - Qualcomm uC Conditional Load Immediate Extension2# RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-xqcicli -M no-aliases -show-encoding \3# RUN:     | FileCheck -check-prefixes=CHECK-ENC,CHECK-INST %s4# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+experimental-xqcicli < %s \5# RUN:     | llvm-objdump --mattr=+experimental-xqcicli -M no-aliases --no-print-imm-hex -d - \6# RUN:     | FileCheck -check-prefix=CHECK-INST %s7# RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-xqcicli -show-encoding \8# RUN:     | FileCheck -check-prefixes=CHECK-ENC,CHECK-INST %s9# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+experimental-xqcicli < %s \10# RUN:     | llvm-objdump --mattr=+experimental-xqcicli --no-print-imm-hex -d - \11# RUN:     | FileCheck -check-prefix=CHECK-INST %s12 13# CHECK-INST: qc.lieq   sp, tp, t1, 1014# CHECK-ENC: encoding: [0x5b,0x01,0x62,0x52]15qc.lieq x2, x4, x6, 1016 17# CHECK-INST: qc.lieqi  t2, ra, 15, 1218# CHECK-ENC: encoding: [0xdb,0x83,0xf0,0x66]19qc.lieqi x7, x1, 15, 1220 21# CHECK-INST: qc.lige   tp, s0, s4, 222# CHECK-ENC: encoding: [0x5b,0x52,0x44,0x13]23qc.lige x4, x8, x20, 224 25# CHECK-INST: qc.ligei  a7, a1, -4, 926# CHECK-ENC: encoding: [0xdb,0xd8,0xc5,0x4f]27qc.ligei x17, x11, -4, 928 29# CHECK-INST: qc.ligeu  sp, tp, t1, 1030# CHECK-ENC: encoding: [0x5b,0x71,0x62,0x52]31qc.ligeu x2, x4, x6, 1032 33# CHECK-INST: qc.ligeui sp, a2, 7, -1234# CHECK-ENC: encoding: [0x5b,0x71,0x76,0xa6]35qc.ligeui x2, x12, 7, -1236 37# CHECK-INST: qc.lilt   s3, s1, a0, 338# CHECK-ENC: encoding: [0xdb,0xc9,0xa4,0x1a]39qc.lilt x19, x9, x10, 340 41# CHECK-INST: qc.lilti  s1, a1, -14, 242# CHECK-ENC: encoding: [0xdb,0xc4,0x25,0x17]43qc.lilti x9, x11, -14, 244 45# CHECK-INST: qc.liltu  ra, s3, a2, 1346# CHECK-ENC: encoding: [0xdb,0xe0,0xc9,0x6a]47qc.liltu x1, x19, x12, 1348 49# CHECK-INST: qc.liltui gp, s9, 31, 1250# CHECK-ENC: encoding: [0xdb,0xe1,0xfc,0x67]51qc.liltui x3, x25, 31, 1252 53# CHECK-INST: qc.line   s2, a4, t1, 1054# CHECK-ENC: encoding: [0x5b,0x19,0x67,0x52]55qc.line x18, x14, x6, 1056 57# CHECK-INST: qc.linei  t0, ra, 10, 1258# CHECK-ENC: encoding: [0xdb,0x92,0xa0,0x66]59qc.linei x5, x1, 10, 1260