This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




On 2015-07-07 12:35, Eric Botcazou wrote:
2015-06-26  Daniel Cederman  <cederman@gaisler.com>

	* 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 changes depending on the target architecture (32-bit on 32-bit architectures and 64-bit on 64-bit architectures)? Or does one have to add a 32-bit and a 64-bit variant of window_save?

--
Daniel Cederman


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]