diff options
| author | Drahflow <drahflow@gmx.de> | 2013-09-27 18:00:17 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-09-27 18:00:17 +0200 |
| commit | 848a22601c8648b6aafab9d9612d2eade692232f (patch) | |
| tree | 913e7f3645769841642c24ea66644aa4bc531778 | |
| parent | 26d7c6fb8168e5261cecce065401491aa7a81b12 (diff) | |
stosq instead of stosb, and 6% faster
| -rw-r--r-- | compiler/elymasGlobalStr.ey | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/elymasGlobalStr.ey b/compiler/elymasGlobalStr.ey index 01d2f17..e8f945c 100644 --- a/compiler/elymasGlobalStr.ey +++ b/compiler/elymasGlobalStr.ey @@ -272,11 +272,14 @@ [[ /rbx :popqReg - /rax /rax :xorqRegReg /rdi :popqReg + /rax /rax :xorqRegReg 16 /rdi /rcx :movqMemDisp8Reg 24 /rdi :addqImm8Reg - :reprcx :stosb + /rcx :decqReg + 3 /rcx :shrqImm8Reg + /rcx :incqReg + :reprcx :stosq /rbx :pushqReg :retn |
