brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · bf59981 Raw
37 lines · plain
1# RUN: llvm-mc %s -triple=riscv32 -mattr=+xsifivecdiscarddlone,+xsifivecflushdlone,+xsfcease -M no-aliases -show-encoding \2# RUN:     | FileCheck -check-prefixes=CHECK-ENC,CHECK-INST %s3# RUN: llvm-mc %s -triple=riscv64 -mattr=+xsifivecdiscarddlone,+xsifivecflushdlone,+xsfcease -M no-aliases -show-encoding \4# RUN:     | FileCheck -check-prefixes=CHECK-ENC,CHECK-INST %s5# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+xsifivecdiscarddlone,+xsifivecflushdlone,+xsfcease < %s \6# RUN:     | llvm-objdump --mattr=+xsifivecdiscarddlone,+xsifivecflushdlone,+xsfcease -M no-aliases -d - \7# RUN:     | FileCheck -check-prefix=CHECK-INST %s8# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+xsifivecdiscarddlone,+xsifivecflushdlone,+xsfcease < %s \9# RUN:     | llvm-objdump --mattr=+xsifivecdiscarddlone,+xsifivecflushdlone,+xsfcease -M no-aliases -d - \10# RUN:     | FileCheck -check-prefix=CHECK-INST %s11 12# CHECK-INST: sf.cflush.d.l1     zero13# CHECK-ENC: encoding: [0x73,0x00,0x00,0xfc]14sf.cflush.d.l1 x015# CHECK-INST: sf.cflush.d.l1     zero16# CHECK-ENC: encoding: [0x73,0x00,0x00,0xfc]17sf.cflush.d.l118 19# CHECK-INST: sf.cflush.d.l1     t220# CHECK-ENC: encoding: [0x73,0x80,0x03,0xfc]21sf.cflush.d.l1 x722 23# CHECK-INST: sf.cdiscard.d.l1   zero24# CHECK-ENC: encoding: [0x73,0x00,0x20,0xfc]25sf.cdiscard.d.l1 x026# CHECK-INST: sf.cdiscard.d.l1   zero27# CHECK-ENC: encoding: [0x73,0x00,0x20,0xfc]28sf.cdiscard.d.l129 30# CHECK-INST: sf.cdiscard.d.l1   t231# CHECK-ENC: encoding: [0x73,0x80,0x23,0xfc]32sf.cdiscard.d.l1 x733 34# CHECK-INST: sf.cease35# CHECK-ENC: encoding: [0x73,0x00,0x50,0x30]36sf.cease37