Re: [PATCH] save takes a single integer (register or 13-bit signed immediate)

2015-07-07 Thread Eric Botcazou
> You are right, I forgot about that. Is there a mode one can use that > changes depending on the target architecture (32-bit on 32-bit > architectures and 64-bit on 64-bit architectures)? Yes, Pmode does exactly that, but you cannot use it directly in the MD file. > Or does one have to add a 32-

Re: [PATCH] save takes a single integer (register or 13-bit signed immediate)

2015-07-07 Thread Daniel Cederman
On 2015-07-07 12:35, Eric Botcazou wrote: 2015-06-26 Daniel Cederman * config/sparc/sparc.md: Window save takes a single integer This will probably break in 64-bit mode, the operand can be a DImode register. You are right, I forgot about that. Is there a mode one can use that

Re: [PATCH] save takes a single integer (register or 13-bit signed immediate)

2015-07-07 Thread Eric Botcazou
> 2015-06-26 Daniel Cederman > > * config/sparc/sparc.md: Window save takes a single integer This will probably break in 64-bit mode, the operand can be a DImode register. -- Eric Botcazou

[PATCH] save takes a single integer (register or 13-bit signed immediate)

2015-07-03 Thread Daniel Cederman
This removes a warning about operand 0 missing mode gcc/ChangeLog: 2015-06-26 Daniel Cederman * config/sparc/sparc.md: Window save takes a single integer --- gcc/config/sparc/sparc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/sparc/sparc.md b/gcc/