summaryrefslogtreecommitdiff
path: root/src/common/memory_detect.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-20 03:24:00 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-23 18:29:38 -0300
commitdbaebd8582c33807ca25acbf36cbd90587c9cfa9 (patch)
treee64142da235b23d85320ad53741cfb2b0cd51f5f /src/common/memory_detect.cpp
parent4d7d3651f3ccffa52394a9b2be230e0a60ab2376 (diff)
decode/arithmetic_half: Fix HADD2 and HMUL2 absolute and negation bits
The encoding for negation and absolute value was wrong. Extracting is now done manually. Similar instructions having different encodings is the rule, not the exception. To keep sanity and readability I preferred to extract the desired bit manually. This is implemented against nxas: https://github.com/ReinUsesLisp/nxas/blob/8dbc38995711cc12206aa370145a3a02665fd989/table.h#L68 That is itself tested against nvdisasm (Nvidia's official disassembler).
Diffstat (limited to 'src/common/memory_detect.cpp')
0 files changed, 0 insertions, 0 deletions