[PATCH] sparc/leon: add support for partial write psr instruction

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Aug 21 08:32:00 GMT 2018


Hi Daniel,

> diff --git a/gas/testsuite/gas/sparc/sparc.exp b/gas/testsuite/gas/sparc/sparc.exp
> index dcfec404d16..b0bcc65c706 100644
> --- a/gas/testsuite/gas/sparc/sparc.exp
> +++ b/gas/testsuite/gas/sparc/sparc.exp
> @@ -86,6 +86,9 @@ if [istarget sparc*-*-*] {
>  	run_dump_test "sparc5vis4"
>  	run_dump_test "xcrypto"
>  
> +	set_tests_arch "leon"
> +	run_dump_test "leon"
> +
>  	set_tests_arch "v9m8"
>  	run_dump_test "fpcmpshl"
>  	run_dump_test "ldm-stm"

just a nit: why do you place this sparcv8 test somewhere randomly in the
middle of sparcv9 tests sorted by increasingly newer ISA extensions?

It may also be that you don't need the set_tests_arch "leon": this is
only meant for isa (extensions) not enabled by default.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Binutils mailing list