mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 22:10:44 +00:00
Adds eleven SOP1 forms as registry data: complement, bit reverse, bit counts, find-first and find-last searches, sign extension and absolute value. Sign extension declares source_bits, which the generator checks against the XML's 8- and 16-bit source operands; forms whose XML shows no SCC output must declare SCC unchanged. The decoder dispatches them through the generated SOP1 table after s_mov_b32, and the translator folds them with ScalarUnaryOp::evaluate. The separately written oracle from task/215-sop1-oracle supplies the reference side. Signed-off-by: elforeign <324243036+elforeign@users.noreply.github.com>