mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-24 07:52:38 +00:00
[gamecode] Redesign jump's B addressing
Yet another redundant addressing mode (since ptr + 0 can be used), so replace it with a variable-indexed array (same as in v6p). Was forced into noticing the problem when trying to compile Machine.r.
This commit is contained in:
parent
b8df11b2cb
commit
766bf758ab
3 changed files with 5 additions and 5 deletions
|
@ -204,11 +204,11 @@ jump_formats = {
|
|||
"jump_fmt": branch_fmt,
|
||||
"jump_types": [
|
||||
"ev_short, ev_invalid, ev_invalid",
|
||||
"ev_ptr, ev_invalid, ev_invalid",
|
||||
"ev_void, ev_int, ev_invalid",
|
||||
"ev_ptr, ev_short, ev_invalid",
|
||||
"ev_ptr, ev_int, ev_invalid",
|
||||
],
|
||||
"jump_widths": [ "0, 0", "1, 0", "1, 0", "1, 1" ]
|
||||
"jump_widths": [ "0, 0", "1, 1", "1, 0", "1, 1" ]
|
||||
},
|
||||
}
|
||||
lea_formats = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue