Use unaligned word write in lbrac and rbrac
Apparently x86_64 is chill like that.
This commit is contained in:
@@ -263,9 +263,7 @@ lbrac:
|
||||
mov rsi,.translation_end
|
||||
call write
|
||||
mov word ax,[chunks+r12+2]
|
||||
mov byte [r14-7],al
|
||||
shr rax,8
|
||||
mov byte [r14-6],al
|
||||
mov word [r14-7],ax
|
||||
and r12,(not CHUNK_MASK)
|
||||
jmp execute.run
|
||||
.translation_start:
|
||||
@@ -283,9 +281,7 @@ rbrac:
|
||||
mov rsi,.translation_end
|
||||
call write
|
||||
mov word ax,[chunks+r12+2]
|
||||
mov byte [r14-7],al
|
||||
shr rax,8
|
||||
mov byte [r14-6],al
|
||||
mov word [r14-7],ax
|
||||
and r12,(not CHUNK_MASK)
|
||||
jmp execute.run
|
||||
.translation_start:
|
||||
|
||||
Reference in New Issue
Block a user