target/tricore: Remove unnecessary cast to target_ulong
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20251010052141.42460-6-philmd@linaro.org>
This commit is contained in:
parent
44e2b68d27
commit
30257dcd2b
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ static const gchar *tricore_gdb_arch_name(CPUState *cs)
|
|||
|
||||
static void tricore_cpu_set_pc(CPUState *cs, vaddr value)
|
||||
{
|
||||
cpu_env(cs)->PC = value & ~(target_ulong)1;
|
||||
cpu_env(cs)->PC = value & ~1;
|
||||
}
|
||||
|
||||
static vaddr tricore_cpu_get_pc(CPUState *cs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue