summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPeter Lafreniere <peter@n8pjl.ca>2024-04-09 12:07:26 -0400
committerGitHub <noreply@github.com>2024-04-09 09:07:26 -0700
commit614a5780347ff0c8f82b8867660ea7fb4d9fdccb (patch)
treeef93b0c09fe2971fa95832e20b3eaa72f96b7558 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4bb5d48584818646a31a1ba4bfbbd658b7dfbe67 (diff)
[M68k] Add support for bitwise NOT instruction (#88049)
Currently the bitwise NOT instruction is not recognized. Add support for using NOT on data registers. This is a partial implementation that puts NOT at the same level of support as NEG currently enjoys. Using not rather than eori cuts the length of the encoded instruction in half or in thirds, leading to a reduction of 4-10 cycles per instruction, on the original 68000. This change includes tests for both bitwise and arithmetic negation.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions