aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-10-22 23:39:30 +0200
committerDrahflow <drahflow@gmx.de>2013-10-22 23:39:30 +0200
commit3815a054b5a1871e00337fb29460ae2bfbb6dfc6 (patch)
tree91a525ef81fb826693a3c26cd9ed990bec7bb2a0 /compiler
parent1ed4d0703d433fb44fc9a38dc8a0a190a1aac54b (diff)
Optimization (20% on string scanning workloads)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/elymasGlobal.ey8
1 files changed, 3 insertions, 5 deletions
diff --git a/compiler/elymasGlobal.ey b/compiler/elymasGlobal.ey
index cca3ad6..3e14219 100644
--- a/compiler/elymasGlobal.ey
+++ b/compiler/elymasGlobal.ey
@@ -479,8 +479,7 @@
/rsi /rax :movqMemReg
@unboxedAbstract
/rbp /rax :cmovcqRegReg
- 56 /rax :shrqImm8Reg
- %F0 /al :andbImmReg # al == type of abstract argument
+ 60 /rax :shrqImm8Reg # al == type of abstract argument
/rdi /rsi :movqMemReg # rsi == address of concrete argument
63 /rsi :btrqImm8Reg
@@ -488,12 +487,11 @@
/rsi /rsi :movqMemReg
@unboxedConcrete
/rbp /rsi :cmovcqRegReg
- 56 /rsi :shrqImm8Reg
- %F0 /sil :andbImmReg # sil = type of concrete argument
+ 60 /rsi :shrqImm8Reg # sil = type of concrete argument
/al /sil :cmpbRegReg
/typedNonCommon :jnzLbl8 # non-equal types
- %E0 /al :testbImmReg
+ %0E /al :testbImmReg
/typedNonCommon :jnzLbl8 # non-trivial types
8 /rdi :addqImm8Reg