Revert "cpu.x86.bootstrap: Rice the jit compiler -- SHR SHL -> AND."

This reverts commit f43e2b1ba7.
db4
John Benediktsson 2012-09-21 10:43:48 -07:00
parent 4ee63bea7e
commit 3f947055b4
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ USING: bootstrap.image.private compiler.constants
compiler.codegen.relocation compiler.units cpu.x86.assembler compiler.codegen.relocation compiler.units cpu.x86.assembler
cpu.x86.assembler.operands kernel kernel.private layouts cpu.x86.assembler.operands kernel kernel.private layouts
locals locals.backend make math math.private namespaces sequences locals locals.backend make math math.private namespaces sequences
slots.private strings.private vocabs math.bitwise ; slots.private strings.private vocabs ;
IN: bootstrap.x86 IN: bootstrap.x86
big-endian off big-endian off
@ -341,7 +341,8 @@ big-endian off
! turn slot number into offset ! turn slot number into offset
fixnum>slot@ fixnum>slot@
! mask off tag ! mask off tag
temp1 tag-bits get on-bits bitnot AND temp1 tag-bits get SHR
temp1 tag-bits get SHL
! load slot value ! load slot value
temp0 temp1 temp0 [+] MOV temp0 temp1 temp0 [+] MOV
! push to stack ! push to stack