|
| From: | Richard Henderson |
| Subject: | Re: [Qemu-devel] [PATCH 18/22] target/i386: split cpu_set_mxcsr() and make cpu_set_fpuc() inline |
| Date: | Mon, 3 Jul 2017 13:14:16 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/03/2017 09:34 AM, Paolo Bonzini wrote:
+static inline void cpu_set_mxcsr(CPUX86State *env, uint32_t mxcsr)
+{
+ env->mxcsr = mxcsr;
+ if (tcg_enabled()) {
+ tcg_update_mxcsr(env);
I'd prefer update_mxcsr_status for this new name.
+ }
+}
+
+static inline void cpu_set_fpuc(CPUX86State *env, uint16_t fpuc)
+{
+ env->fpuc = fpuc;
+ if (tcg_enabled()) {
+ update_fp_status(env);
+ }
+}
to match this, and to avoid the implication that it's a function in tcg/. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |