mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	[mips] Switch the MIPS-III and MIPS-IV assembler tests to use -mcpu=mips4.
Summary: It is now the smallest superset for these ISA's. FeatureMips4 now contains FeatureFPIdx since [ls][dw]xc1 were added in MIPS-IV. Made the FPIdx feature bit lowercase so that it can be used in the -mattr option. Depends on D3274 Reviewers: matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://reviews.llvm.org/D3275 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -2,8 +2,8 @@
 | 
			
		||||
# they aren't implemented yet).
 | 
			
		||||
# This test is set up to XPASS if any instruction generates an encoding.
 | 
			
		||||
#
 | 
			
		||||
# FIXME: Test MIPS-III instead of MIPS64
 | 
			
		||||
# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips64   | not FileCheck %s
 | 
			
		||||
# FIXME: Test MIPS-III instead of MIPS-IV
 | 
			
		||||
# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips4 | not FileCheck %s
 | 
			
		||||
# CHECK-NOT: encoding
 | 
			
		||||
# XFAIL: *
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,10 @@
 | 
			
		||||
# Instructions that are valid
 | 
			
		||||
#
 | 
			
		||||
# FIXME: Test MIPS-III instead of MIPS64
 | 
			
		||||
# RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64   | FileCheck %s
 | 
			
		||||
# FIXME: Test MIPS-III instead of MIPS-IV
 | 
			
		||||
# RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips4 | FileCheck %s
 | 
			
		||||
 | 
			
		||||
	.set noat
 | 
			
		||||
	abs.d	$f7,$f25 # CHECK:encoding
 | 
			
		||||
	abs.d	$f7,$f25 # CHECK: encoding
 | 
			
		||||
	abs.s	$f9,$f16
 | 
			
		||||
	add	$s7,$s2,$a1
 | 
			
		||||
	add.d	$f1,$f7,$f29
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,7 @@
 | 
			
		||||
# they aren't implemented yet).
 | 
			
		||||
# This test is set up to XPASS if any instruction generates an encoding.
 | 
			
		||||
#
 | 
			
		||||
# FIXME: Test MIPS-IV instead of MIPS64
 | 
			
		||||
# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64   | not FileCheck %s
 | 
			
		||||
# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips4 | not FileCheck %s
 | 
			
		||||
# CHECK-NOT: encoding
 | 
			
		||||
# XFAIL: *
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,6 @@
 | 
			
		||||
# Instructions that are valid
 | 
			
		||||
#
 | 
			
		||||
# FIXME: Test MIPS-IV instead of MIPS64
 | 
			
		||||
# RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64   | FileCheck %s
 | 
			
		||||
# RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips4 | FileCheck %s
 | 
			
		||||
 | 
			
		||||
	.set noat
 | 
			
		||||
	abs.d	$f7,$f25 # CHECK: encoding
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user