op_helper.c (d8276573da58e8ce78dab8c46dd660efd664bcb7) op_helper.c (29a0af618ddd21f55df5753c3e16b0625f534b3c)
1/*
2 * SH4 emulation
3 *
4 * Copyright (c) 2005 Samuel Tardieu
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

--- 93 unchanged lines hidden (view full) ---

102{
103 env->tra = tra << 2;
104 raise_exception(env, 0x160, 0);
105}
106
107void helper_exclusive(CPUSH4State *env)
108{
109 /* We do not want cpu_restore_state to run. */
1/*
2 * SH4 emulation
3 *
4 * Copyright (c) 2005 Samuel Tardieu
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

--- 93 unchanged lines hidden (view full) ---

102{
103 env->tra = tra << 2;
104 raise_exception(env, 0x160, 0);
105}
106
107void helper_exclusive(CPUSH4State *env)
108{
109 /* We do not want cpu_restore_state to run. */
110 cpu_loop_exit_atomic(ENV_GET_CPU(env), 0);
110 cpu_loop_exit_atomic(env_cpu(env), 0);
111}
112
113void helper_movcal(CPUSH4State *env, uint32_t address, uint32_t value)
114{
115 if (cpu_sh4_is_cached (env, address))
116 {
117 memory_content *r = g_new(memory_content, 1);
118

--- 374 unchanged lines hidden ---
111}
112
113void helper_movcal(CPUSH4State *env, uint32_t address, uint32_t value)
114{
115 if (cpu_sh4_is_cached (env, address))
116 {
117 memory_content *r = g_new(memory_content, 1);
118

--- 374 unchanged lines hidden ---