[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/mips: Add MAC2008 support
From: |
Richard Henderson |
Subject: |
Re: [PATCH] target/mips: Add MAC2008 support |
Date: |
Sat, 28 Mar 2020 12:09:16 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 3/28/20 2:08 AM, Jiaxun Yang wrote:
> - gen_helper_float_madd_s(fp2, cpu_env, fp0, fp1, fp2);
> + if (ctx->mac2008) {
> + gen_helper_float_madd_s(fp2, cpu_env, fp0, fp1, fp2);
> + } else {
> + gen_helper_float_maddf_s(fp2, cpu_env, fp0, fp1, fp2);
> + }
>
Surely this test is backward, that mac2008 invokes maddf.
r~