On 2/8/24 21:43, Richard Henderson wrote:
On 2/7/24 08:20, del...@kernel.org wrote:
#define PSW_E 0x0400
+#define PSW_E_BIT 37 /* PA2.0 only */
#define PSW_W 0x0800 /* PA2.0 only */
+#define PSW_W_BIT 36 /* PA2.0 only */
...
+targ
On 2/7/24 08:20, del...@kernel.org wrote:
#define PSW_E0x0400
+#define PSW_E_BIT37 /* PA2.0 only */
#define PSW_W0x0800 /* PA2.0 only */
+#define PSW_W_BIT36 /* PA2.0 only */
...
+target_ulong HELPER(get_system_mask)(CPUHPPASta
From: Helge Deller
The ssm and rsm instructions number the PSW_W and PSW_E bits differently
than how they are actually in the PSW. Both bits are relevant on 64-bit
CPUs only.
Fix the existing ssm and rsm instructions to handle the bits correctly.
For that drop the swap_system_mask() helper funct