op_helper.c (9298a4e8a648d88300883681317ed733a6ad39d0) | op_helper.c (29a0af618ddd21f55df5753c3e16b0625f534b3c) |
---|---|
1/* 2 * Helpers for HPPA instructions. 3 * 4 * Copyright (c) 2016 Richard Henderson <rth@twiddle.net> 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 63 unchanged lines hidden (view full) --- 72 cmp = atomic_cmpxchg(haddr, old, new); 73 if (cmp == old) { 74 return; 75 } 76 old = cmp; 77 } 78#else 79 /* FIXME -- we can do better. */ | 1/* 2 * Helpers for HPPA instructions. 3 * 4 * Copyright (c) 2016 Richard Henderson <rth@twiddle.net> 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 63 unchanged lines hidden (view full) --- 72 cmp = atomic_cmpxchg(haddr, old, new); 73 if (cmp == old) { 74 return; 75 } 76 old = cmp; 77 } 78#else 79 /* FIXME -- we can do better. */ |
80 cpu_loop_exit_atomic(ENV_GET_CPU(env), ra); | 80 cpu_loop_exit_atomic(env_cpu(env), ra); |
81#endif 82} 83 84static void do_stby_b(CPUHPPAState *env, target_ulong addr, target_ureg val, 85 bool parallel, uintptr_t ra) 86{ 87 switch (addr & 3) { 88 case 3: --- 611 unchanged lines hidden --- | 81#endif 82} 83 84static void do_stby_b(CPUHPPAState *env, target_ulong addr, target_ureg val, 85 bool parallel, uintptr_t ra) 86{ 87 switch (addr & 3) { 88 case 3: --- 611 unchanged lines hidden --- |