mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 10:50:58 +00:00
[gamecode] Correct types and widths for bitnot
bitnot is the only unary operator in the bitops group and thus needs special handling.
This commit is contained in:
parent
169b8cc398
commit
e9dff4ff9c
1 changed files with 2 additions and 2 deletions
|
@ -91,8 +91,8 @@ bitops_formats = {
|
|||
"mnemonic": "{op_bit[oo]}",
|
||||
"opname": "{op_bit[oo]}",
|
||||
"format": "{bit_fmt[oo]}",
|
||||
"widths": "{ss+1}, {ss+1}, {ss+1}",
|
||||
"types": "{bit_types[t]}, {bit_types[t]}, {bit_types[t]}",
|
||||
"widths": "{ss+1}, { oo < 3 and ss+1 or 0}, {ss+1}",
|
||||
"types": "{bit_types[t]}, {oo < 3 and bit_types[t] or 'ev_invalid'}, {bit_types[t]}",
|
||||
"args": {
|
||||
"op_bit": ["bitand", "bitor", "bitxor", "bitnot"],
|
||||
"bit_type": ["I", "L"],
|
||||
|
|
Loading…
Reference in a new issue