[PATCH 3 14/16] MIPS: Accept MCU mapped string operands as constants

Maciej W. Rozycki macro@orcam.me.uk
Fri Sep 18 16:10:35 GMT 2026


On Thu, 5 Feb 2026, Jovan Dmitrovic via Binutils wrote:

> From: Faraz Shahbazker <fshahbazker@wavecomp.com>

 No commit description and also did you mean MXU rather than MCU in the 
heading?  See below though...

> diff --git a/gas/testsuite/gas/mips/mxu.s b/gas/testsuite/gas/mips/mxu.s
> index f9643d0624c..26b70f41217 100644
> --- a/gas/testsuite/gas/mips/mxu.s
> +++ b/gas/testsuite/gas/mips/mxu.s
> @@ -279,14 +336,14 @@ test_mxu:
>  	s32lui xr1, -128, ptn5
>  	s32lui xr1, -128, ptn6
>  	s32lui xr1, -128, ptn7
> -	s32lui xr1, 255, ptn0
> -	s32lui xr1, 255, ptn1
> -	s32lui xr1, 255, ptn2
> -	s32lui xr1, 255, ptn3
> -	s32lui xr1, 255, ptn4
> -	s32lui xr1, 255, ptn5
> -	s32lui xr1, 255, ptn6
> -	s32lui xr1, 255, ptn7
> +	s32lui xr1, 255, 0
> +	s32lui xr1, 255, 1
> +	s32lui xr1, 255, 2
> +	s32lui xr1, 255, 3
> +	s32lui xr1, 255, 4
> +	s32lui xr1, 255, 5
> +	s32lui xr1, 255, 6
> +	s32lui xr1, 255, 7

 Why remove the test cases here?  Otherwise it seems to me this will best 
be folded into 13/16.  Any justification otherwise?

  Maciej


More information about the Binutils mailing list