target/i386: Suppress coverity warning on fsave/frstor
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Apr 2022 18:46:35 +0000 (12:46 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 27 Apr 2022 02:59:51 +0000 (19:59 -0700)
commit0cbc135917141053c80480fefbe55f70bb3b1562
treee7e899bc89f1b6d5aee2e412928bcc72a8b239fc
parent21641ee5a9b31568c990c7fc949eeb9bcd0f6a0f
target/i386: Suppress coverity warning on fsave/frstor

Coverity warns that 14 << data32 may overflow with respect
to the target_ulong to which it is subsequently added.
We know this wasn't true because data32 is in [1,2],
but the suggested fix is perfectly fine.

Fixes: Coverity CID 1487135, 1487256
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Message-Id: <20220401184635.327423-1-richard.henderson@linaro.org>
target/i386/tcg/fpu_helper.c