Commit 02959eae authored by Alexei Zavjalov's avatar Alexei Zavjalov
Browse files

x86_64: Fix neg_double



In a case, when src and dest regs are the same, previous
implementation of the neg_double bytecode returns an
incorrect result.

This implementation uses shifts and xor and works for both
cases.

Change-Id: I137d9a90298ec225d80435d35558da8abb69cd01
Signed-off-by: default avatarAlexei Zavjalov <alexei.zavjalov@intel.com>
parent 69070788
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment