mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
10c96ad267
Summary: Add regression tests of asmparser, mccodeemitter, and disassembler for control instructions. Add not defined LPM/SPM/LFR/SFR/SMIR/NOP/LCR/ SCR/TSCR/FIDCR control isntructions newly. Define MISC registers which SMIR instruction reads and IC register which SIC instruction reads. Change asmparser to support Zero, UImm3, and UImm6 operands and MISC registers. Change instprinter to support MISC registers also. Change to use auto to receive dyn_cast also. Differential Revision: https://reviews.llvm.org/D81370
17 lines
544 B
ArmAsm
17 lines
544 B
ArmAsm
# RUN: llvm-mc -triple=ve --show-encoding < %s \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
|
# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK-INST
|
|
|
|
# CHECK-INST: lfr %s11
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x8b,0x00,0x69]
|
|
lfr %s11
|
|
|
|
# CHECK-INST: lfr 63
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x3f,0x00,0x69]
|
|
lfr 63
|
|
|
|
# CHECK-INST: sfr %s63
|
|
# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x29]
|
|
sfr %s63
|