Lines Matching full:eax
62 pop %eax
65 movl %eax,offThread_jitResumeNPC(%ecx)
80 SPILL_TMP1(%eax)
82 UNSPILL_TMP1(%eax)
84 movl %eax, rPC
85 movl rSELF, %eax
87 movl %eax,OUT_ARG1(%esp)
90 movl %eax,offThread_inJitCodeCache(%ecx) # set inJitCodeCache flag
91 cmpl $$0, %eax
93 jmp *%eax # exec translation if we've got one
115 movl rSELF, %eax
117 movl %eax,OUT_ARG1(%esp)
120 cmpl $$0,%eax
121 movl %eax,offThread_inJitCodeCache(%ecx) # set inJitCodeCache flag
123 jmp *%eax # jump to tranlation
128 GET_JIT_PROF_TABLE %ecx %eax
129 cmpl $$0, %eax # JIT enabled?
137 movl $$kJitTSelectRequestHot,%eax # ask for trace select
147 movl 0(%esp), %eax # get return address
156 lea -17(%eax), %ebx #$$JIT_OFFSET_CHAIN_START(%eax), %ebx
158 movl rSELF, %eax
160 movl %eax,OUT_ARG1(%esp)
163 cmpl $$0,%eax
165 movl %eax,offThread_inJitCodeCache(%ecx) # set inJitCodeCache flag
167 movl %eax,OUT_ARG0(%esp)
170 cmpl $$0,%eax # Success?
172 jmp *%eax
191 movl 0(%esp), %eax # get return address
199 lea -17(%eax), %ebx #$$JIT_OFFSET_CHAIN_START(%eax), %ebx
208 movl %eax, offThread_inJitCodeCache(%ecx) # set inJitCodeCache flag
210 cmp $$0, %eax
214 movl %eax, OUT_ARG0(%esp) # first argument
217 cmp $$0, %eax
219 jmp *%eax #to native address
223 dvmJitToInterpNoChain: #rPC in eax
225 SPILL_TMP1(%eax)
227 UNSPILL_TMP1(%eax)
231 movl %eax, rPC
239 movl %eax, offThread_inJitCodeCache(%ecx) # set inJitCodeCache flag
240 cmp $$0, %eax
242 jmp *%eax #to native address
249 movl offThread_pJitProfTable(%ecx), %eax
255 cmp $$0, %eax
257 /* eax holds the pointer to the jit profile table
267 decb (%ecx,%eax)
285 movb rINSTbl,(%ecx,%eax) # reset counter
287 movl rSELF, %eax
292 movl %eax,offThread_inJitCodeCache(rINST) # set the inJitCodeCache flag
294 cmpl $$0,%eax
297 jmp *%eax # TODO: decide call vs/ jmp!. No return either way
299 movl $$kJitTSelectRequest,%eax
300 # On entry, eax<- jitState, rPC valid
307 movl %eax, offThread_jitState(%ebx)
308 movl rSELF, %eax
309 movl %eax, OUT_ARG0(%esp)
332 movl %eax, offThread_jitState(%ebx)
368 * eax = Method* methodToCall
401 * %eax=methodToCall, %ecx=CCCC, LOCAL0_OFFSET(%ebp)=count,
423 * %eax is "Method* methodToCall", the method we're trying to call
450 * %eax=methodToCall, %ecx=GFED, LOCAL0_OFFSET(%ebp)=count, %edx=outs
494 * %eax is "Method* methodToCall", the method we're trying to call
499 movzwl offMethod_registersSize(%eax), %edx # %edx<- methodToCall->regsSize
500 movzwl offMethod_outsSize(%eax), %ecx # %ecx<- methodToCall->outsSize
501 movl %eax, LOCAL0_OFFSET(%ebp) # LOCAL0_OFFSET<- methodToCall
503 SAVEAREA_FROM_FP %eax # %eax<- &StackSaveArea
504 subl %edx, %eax # %eax<- newFP; (old savearea - regsSize)
506 movl %eax, LOCAL1_OFFSET(%ebp) # LOCAL1_OFFSET(%ebp)<- &outs
507 subl $$sizeofStackSaveArea, %eax # %eax<- newSaveArea (stack save area using newFP)
511 movl %eax, %edx # %edx<- newSaveArea
512 sub %ecx, %eax # %eax<- bottom; (newSaveArea - outsSize)
513 cmp TMP_SPILL1(%ebp), %eax # compare interpStackEnd and bottom
514 movl LOCAL0_OFFSET(%ebp), %eax # %eax<- restore methodToCall
536 testl $$ACC_NATIVE, offMethod_accessFlags(%eax) # check for native call
537 movl %eax, offStackSaveArea_method(%edx) # newSaveArea->method<- method to call
542 * %eax=methodToCall, LOCAL1_OFFSET(%ebp)=newFp
544 movl offMethod_clazz(%eax), %edx # %edx<- method->clazz
546 movl %eax, offThread_method(%ecx) # self->method<- methodToCall
548 movl offMethod_insns(%eax), rPC # rPC<- methodToCall->insns
556 GET_JIT_PROF_TABLE %ecx %eax
557 cmp $$0, %eax
565 * %eax: method
569 SPILL_TMP1(%eax) # preserve methodToCall
573 movl %eax, OUT_ARG1(%esp)
575 UNSPILL_TMP1(%eax)
582 * %eax=methodToCall, LOCAL1_OFFSET(%ebp)=newFP, %edx=newSaveArea, %ecx=self
594 movl %eax, OUT_ARG2(%esp) # push parameter methodToCall
598 call *offMethod_nativeFunc(%eax) # call methodToCall->nativeFunc
601 movl rSELF, %eax # %eax<- self
603 cmp $$0, offThread_exception(%eax) # check for exception
604 movl rFP, offThread_curFrame(%eax) # curFrame<- rFP
605 movl %edx, offThread_jniLocal_topCookie(%eax) # new top <- old top
607 movl offThread_curHandlerTable(%eax),rIBASE
615 * %eax=methodToCall, rINST=newFP, %ecx=self
617 SPILL_TMP1(%eax) # save methodTocall
620 movl %eax, OUT_ARG0(%esp)
623 UNSPILL_TMP1(%eax) # restore methodToCall
629 movl %eax, OUT_ARG2(%esp) # push parameter methodToCall
632 call *offMethod_nativeFunc(%eax) # call methodToCall->nativeFunc
634 UNSPILL_TMP1(%eax) # restore methodToCall
637 movl %eax, OUT_ARG0(%esp)
642 .LstackOverflow: # eax=methodToCall
643 movl %eax, OUT_ARG1(%esp) # push parameter methodToCall
644 movl rSELF,%eax # %eax<- self
645 movl %eax, OUT_ARG0(%esp) # push parameter self
655 SAVEAREA_FROM_FP %eax # %eax<- saveArea(old)
660 movl offStackSaveArea_prevFrame(%eax), rFP # rFP<- saveArea->PrevFrame
665 movl offStackSaveArea_savedPc(%eax), rPC # rPC<- saveAreaOld->savedPc
667 movl offStackSaveArea_returnAddr(%eax), %ecx
669 movl rSELF, %eax
670 movl rINST, offThread_method(%eax) # glue->method<- newSave->method
672 movl rFP, offThread_curFrame(%eax) # glue->self->curFrame<- rFP
675 movl %ecx, offThread_inJitCodeCache(%eax)
678 movl rINST, offThread_methodClassDex(%eax) # glue->pDvmDex<- method->clazz->pDvmDex
682 movl %ecx, %eax
683 jmp *%eax
689 FETCH_INST_OPCODE 3, %ecx # %eax<- next instruction hi; fetch, advance
707 * On entry, rFP: prevFP, %ecx: self, %eax: saveArea
710 movl offStackSaveArea_prevFrame(%eax), %ebx # %ebx<- saveArea->PrevFrame
717 SAVEAREA_FROM_FP %eax # restore saveArea
743 * eax = Method* methodToCall
755 movl %eax, offThread_methodToCall(%ebx)
769 * %eax: field pointer (must preserve)
785 SPILL_TMP1(%eax)
797 UNSPILL_TMP1(%eax)
806 movl rSELF, %eax
807 movl offThread_pc(%eax),rPC
808 movl offThread_curFrame(%eax),rFP
809 movl offThread_curHandlerTable(%eax),rIBASE
818 movl $$.LstrDivideByZero,%eax
819 movl %eax,OUT_ARG0(%esp)
825 * On entry, len in eax
829 movl %eax,OUT_ARG0(%esp) # arg0<- len
835 * On entry, method name in eax
839 movl %eax,OUT_ARG0(%esp)
849 xorl %eax,%eax
850 movl %eax,OUT_ARG0(%esp)
857 * eax <- array object
862 movl offArrayObject_length(%eax), %eax
863 movl %eax,OUT_ARG0(%esp)
895 movl offThread_subMode(%ecx), %eax # get subMode flags
899 cmpl $$0, %eax # any special subMode handling needed?
918 movl %esp, %eax # %eax = &fp
920 movl %eax, OUT_ARG4(%esp) # Arg 4 = &fp
925 movl offThread_method(%ecx), %eax # %eax = self->method
926 movl offMethod_insns(%eax), %eax # %eax = self->method->insn
928 subl %eax, %ecx # %ecx = pc - self->method->insn
932 /* call, %eax gets catchRelPc (a code-unit offset) */
941 movl %eax, rFP # save relPc result in rFP
947 movl rFP, %eax # restore result
953 cmpl $$0, %eax # is catchRelPc < 0?
963 lea (rINST, %eax, 2), rPC # rPC<- method->insns + catchRelPc
977 movzbl rINSTbl, %eax
978 cmpl $$OP_MOVE_EXCEPTION, %eax # is it "move-exception"?
988 movl offThread_stackOverflowed(%ecx), %eax
989 cmpl $$0, %eax # did we overflow earlier?
1007 movl $$0xdeadf00d,%eax
1008 call *%eax