qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 05/10] arm/nwfps: replace cpsr_write with set


From: Riku Voipio
Subject: Re: [Qemu-devel] [PATCH v2 05/10] arm/nwfps: replace cpsr_write with set_condition_codes
Date: Tue, 15 Jul 2014 16:41:25 +0300
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jul 10, 2014 at 04:50:02PM +0100, Alex Bennée wrote:
> This is a pre-cursor to removing the cpsr_write function completely from
> the code base. set_condition_codes() only affects the integer condition
> flags.

Acked-by: Riku Voipio <address@hidden>

> Signed-off-by: Alex Bennée <address@hidden>
> 
> ---
> 
> v2
>  - fix nwfpe set_condition_codes
> 
> diff --git a/linux-user/arm/nwfpe/fpa11.h b/linux-user/arm/nwfpe/fpa11.h
> index bb9ac65..c7883d0 100644
> --- a/linux-user/arm/nwfpe/fpa11.h
> +++ b/linux-user/arm/nwfpe/fpa11.h
> @@ -108,7 +108,7 @@ static inline void writeRegister(unsigned int x, unsigned 
> int y)
>  
>  static inline void writeConditionCodes(unsigned int x)
>  {
> -        cpsr_write(user_registers,x,CPSR_NZCV);
> +        set_condition_codes(user_registers, x);
>  }
>  
>  #define ARM_REG_PC 15
> -- 
> 2.0.1
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]