+2021-05-01 Mike Frysinger <vapier@gentoo.org>
+
+ * cpustate.c (aarch64_set_FP_float): Change lx to PRIx64.
+ (aarch64_set_FP_double, aarch64_set_FP_long_double,
+ aarch64_set_vec_u64, aarch64_set_vec_s64): Likewise.
+
2021-05-01 Mike Frysinger <vapier@gentoo.org>
* simulator.c (do_fcvtzu): Change UL to ULL.
v.s = val;
TRACE_REGISTER (cpu,
- "FR[%d].s changes from %f to %f [hex: %0lx]",
+ "FR[%d].s changes from %f to %f [hex: %0" PRIx64 "]",
reg, cpu->fr[reg].s, val, v.v[0]);
}
v.d = val;
TRACE_REGISTER (cpu,
- "FR[%d].d changes from %f to %f [hex: %0lx]",
+ "FR[%d].d changes from %f to %f [hex: %0" PRIx64 "]",
reg, cpu->fr[reg].d, val, v.v[0]);
}
cpu->fr[reg].d = val;
if (cpu->fr[reg].v[0] != a.v[0]
|| cpu->fr[reg].v[1] != a.v[1])
TRACE_REGISTER (cpu,
- "FR[%d].q changes from [%0lx %0lx] to [%0lx %0lx] ",
+ "FR[%d].q changes from [%0" PRIx64 " %0" PRIx64 "] to [%0"
+ PRIx64 " %0" PRIx64 "] ",
reg,
cpu->fr[reg].v[0], cpu->fr[reg].v[1],
a.v[0], a.v[1]);
void
aarch64_set_vec_u64 (sim_cpu *cpu, VReg reg, unsigned element, uint64_t val)
{
- SET_VEC_ELEMENT (reg, element, val, v, "%16lx");
+ SET_VEC_ELEMENT (reg, element, val, v, "%16" PRIx64);
}
void
void
aarch64_set_vec_s64 (sim_cpu *cpu, VReg reg, unsigned element, int64_t val)
{
- SET_VEC_ELEMENT (reg, element, val, V, "%16lx");
+ SET_VEC_ELEMENT (reg, element, val, V, "%16" PRIx64);
}
void