brintos

brintos / llvm-project-archived public Read only

0
0
Text · 892 B · 94c1a77 Raw
22 lines · plain
1# RUN: llvm-mc %s -triple=mipsisa32r6el-linux-gnu -filetype=obj -o - | \2# RUN:		 llvm-objdump --no-print-imm-hex -d - | FileCheck %s --check-prefix=MIPS32R6-EL3# RUN: llvm-mc %s -triple=mipsisa32r6-linux-gnu -filetype=obj -o - | \4# RUN: 		 llvm-objdump --no-print-imm-hex -d - | FileCheck %s --check-prefix=MIPS32R6-EB5 6# Whether it is a macro or an actual instruction, it always has a delay slot.7# Ensure the delay slot is filled correctly.8# Also ensure that NAL does not reside in a forbidden slot.9# MIPS32R6-EL:		00 00 80 f8   bnezc	$4, 0x410# MIPS32R6-EL-NEXT:	00 00 00 00   nop11# MIPS32R6-EL:		00 00 10 04   nal12# MIPS32R6-EL-NEXT:	00 00 00 00   nop13# MIPS32R6-EB:		f8 80 00 00   bnezc	$4, 0x414# MIPS32R6-EB-NEXT:	00 00 00 00   nop15# MIPS32R6-EB:		04 10 00 00   nal16# MIPS32R6-EB-NEXT:	00 00 00 00   nop17 18nal_test:19	# We generate a fobidden solt just for testing.20	bnezc $a0, 021	nal22