Re: [Qemu-devel] [PATCH] target-mips: Replace macros by inline functions

2013-01-08 Thread Aurelien Jarno
On Tue, Jan 01, 2013 at 07:44:31PM +0100, Stefan Weil wrote: > The macros RESTORE_ROUNDING_MODE and RESTORE_FLUSH_MODE silently used > variable env from their callers. Using inline functions with env passed > as a function argument is more transparent. > > This modification was proposed by Peter M

Re: [Qemu-devel] [PATCH] target-mips: Replace macros by inline functions

2013-01-07 Thread Eric Johnson
On 01/01/2013 10:44 AM, Stefan Weil wrote: The macros RESTORE_ROUNDING_MODE and RESTORE_FLUSH_MODE silently used variable env from their callers. Using inline functions with env passed as a function argument is more transparent. This modification was proposed by Peter Maydell. Cc: Peter Maydell

[Qemu-devel] [PATCH] target-mips: Replace macros by inline functions

2013-01-01 Thread Stefan Weil
The macros RESTORE_ROUNDING_MODE and RESTORE_FLUSH_MODE silently used variable env from their callers. Using inline functions with env passed as a function argument is more transparent. This modification was proposed by Peter Maydell. Cc: Peter Maydell Signed-off-by: Stefan Weil --- target-mip