qemu-devel
[Top][All Lists]
Advanced

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

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


From: Alex Bennée
Subject: [Qemu-devel] [PATCH v2 05/10] arm/nwfps: replace cpsr_write with set_condition_codes
Date: Thu, 10 Jul 2014 16:50:02 +0100

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.

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]