Commit Graph

19 Commits

Author SHA1 Message Date
gingerBill
c80fedc070 Support [base + index<<scale] and [base + index>>scale]; Support syntax for [base]:u8 (not implemented yet) 2026-08-12 09:03:31 +01:00
gingerBill
21ad041232 Handle prefixes better 2026-08-11 17:44:55 +01:00
gingerBill
e31bacd664 Check memory operand parameters better 2026-08-11 16:37:55 +01:00
gingerBill
6a20d21358 Add extra checks for asm memory operand scale in frontend and backend 2026-08-11 16:00:03 +01:00
gingerBill
a76664ed2a Improve error messages for immediate values and explain how far out they are in terms of bits too. 2026-08-11 15:12:00 +01:00
gingerBill
5621cbc85a Improve scoring for operand error handling 2026-08-11 15:06:14 +01:00
gingerBill
cd6b8a9ddb Improve error messages when passing an immediate that does not fit the expect range. 2026-08-11 14:59:14 +01:00
gingerBill
ce6346a20f Check immediates if they support the range or are not allowed (e.g. floats) 2026-08-11 14:52:21 +01:00
gingerBill
c70f717211 Correct check_asm_operand_size_class for scalar floats in vector register slots 2026-08-11 14:21:21 +01:00
gingerBill
ef21ffa285 Templatize the check_asm.cpp code ready for other architectures 2026-08-11 14:00:41 +01:00
gingerBill
813f732759 Remove debug message 2026-08-11 13:09:42 +01:00
gingerBill
c717cb4ae9 Implement check_asm_operand_size_class 2026-08-11 13:08:39 +01:00
gingerBill
72867df848 Fix typos and bugs. 2026-08-11 12:23:26 +01:00
gingerBill
76808ab97f Improve did you mean for asm mnemonics and prefixes 2026-08-11 12:14:31 +01:00
gingerBill
098945c358 Fix some bugs and add "Did you mean" for the mnemonics 2026-08-11 12:10:32 +01:00
gingerBill
b0364d2c60 Improve error message for invalid operand kinds 2026-08-11 11:56:03 +01:00
gingerBill
400203c344 Verify the asm instruction operands against the Encoding.ops 2026-08-11 11:47:48 +01:00
gingerBill
5ca7638bb2 Check asm instruction operand count 2026-08-11 11:11:53 +01:00
gingerBill
70ca5c0936 Validate the names of mnemonics, prefixes, and registers for amd64 2026-08-11 10:44:34 +01:00