|
From: | Richard Henderson |
Subject: | Re: [Qemu-ppc] [RFC PATCH 3/6] target/ppc: introduce get_cpu_vsr{l, h}() and set_cpu_vsr{l, h}() helpers for VSR register access |
Date: | Mon, 10 Dec 2018 13:16:37 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 12/7/18 2:56 AM, Mark Cave-Ayland wrote: > +static inline void get_vsr(TCGv_i64 dst, int n) > +{ > + tcg_gen_ld_i64(dst, cpu_env, offsetof(CPUPPCState, vsr[n])); > +} > + > +static inline void set_vsr(int n, TCGv_i64 src) > +{ > + tcg_gen_st_i64(src, cpu_env, offsetof(CPUPPCState, vsr[n])); > +} Why isn't this helper still using cpu_vsr[n]? r~
[Prev in Thread] | Current Thread | [Next in Thread] |