I 285 core/CodegenLIR.cpp CSEFUNCTION(FUNCADDR(i2f), SIG1(F,I), i2f) I 1228 core/WordcodeEmitter.cpp R[k++] = I[n][j]; I 1236 core/WordcodeEmitter.cpp if (!(buffers->data <= I[0] && I[0] <= I[nextI-1])) { I 1243 core/WordcodeEmitter.cpp dest = I[0]; I 1328 core/WordcodeEmitter.cpp AvmAssert(I[nextI - 1] + 2 == dest); I 1330 core/WordcodeEmitter.cpp uintptr_t offset = I[nextI - 1][1]; I 1335 core/WordcodeEmitter.cpp while (b != NULL && b->patch_loc != &I[nextI - 1][1]) I 1344 core/WordcodeEmitter.cpp I[nextI - 1][1] = uint32_t(b->target_pc - code_start); I 1349 core/WordcodeEmitter.cpp AvmAssert((int32_t)I[nextI - 1][1] < 0); I 1351 core/WordcodeEmitter.cpp I[nextI - 1][1] = -int32_t(buffer_offset + (dest - buffers->data) + (int32_t)I[nextI - 1][1]); I 1374 core/WordcodeEmitter.cpp I[nextI] = loc; I 1488 core/WordcodeEmitter.cpp I[nextI] = loc; I 1496 core/WordcodeEmitter.cpp I[i] = I[i+shift]; I 213 core/WordcodeEmitter.h uintptr_t* I[10]; // longest window 10 instructions, not a problem now, generator can generate constant later I 90 core/jit-calls.h FUNCTION(CALL_INDIRECT, SIG4(U,P,P,I,P), icalli) I 91 core/jit-calls.h FUNCTION(CALL_INDIRECT, SIG4(A,P,P,I,P), acalli) I 92 core/jit-calls.h FUNCTION(CALL_INDIRECT, SIG4(F,P,P,I,P), fcalli) I 93 core/jit-calls.h FUNCTION(CALL_INDIRECT, SIG5(I,P,P,I,P,P), icallimt) I 94 core/jit-calls.h FUNCTION(CALL_INDIRECT, SIG5(A,P,P,I,P,P), acallimt) I 95 core/jit-calls.h FUNCTION(CALL_INDIRECT, SIG5(F,P,P,I,P,P), fcallimt) I 263 core/jit-calls.h FUNCTION(CALL_INDIRECT, SIG6(A,P,P,A,I,P,P), call_cache_handler) I 273 core/jit-calls.h FUNCTION(FUNCADDR(callprop_late), SIG5(A,P,A,P,I,P), callprop_late) I 439 core/jit-calls.h METHOD(ENVADDR(MethodEnv::nextname), SIG3(A,P,A,I), nextname) I 440 core/jit-calls.h METHOD(ENVADDR(MethodEnv::nextvalue), SIG3(A,P,A,I), nextvalue) I 441 core/jit-calls.h METHOD(ENVADDR(MethodEnv::hasnext), SIG3(I,P,A,I), hasnext) I 447 core/jit-calls.h CSEMETHOD(COREADDR(AvmCore::intToString), SIG2(P,P,I), intToString) I 449 core/jit-calls.h CSEFUNCTION(FUNCADDR(AvmCore::boolean), SIG1(I,A), boolean) I 451 core/jit-calls.h CSEFUNCTION(FUNCADDR(AVMCORE_integer_d), SIG1(I,F), integer_d) I 452 core/jit-calls.h CSEFUNCTION(FUNCADDR(AvmCore::integer_i), SIG1(I,A), integer_i) I 455 core/jit-calls.h CSEFUNCTION(FUNCADDR(AVMCORE_integer), SIG1(I,A), integer) I 457 core/jit-calls.h METHOD(ENVADDR(MethodEnv::hasnextproto), SIG3(I,P,P,P), hasnextproto) I 717 core/jit-calls.h FUNCTION(FUNCADDR(istypelate), SIG3(I,P,A,A), istypelate) I 724 core/jit-calls.h CSEFUNCTION(FUNCADDR(istype), SIG2(I,A,P), istype) I 742 core/jit-calls.h METHOD(VECTORINTADDR(IntVectorObject::_setNativeUintProperty), SIG3(V,P,U,I), IntVectorObject_setNativeUintProperty) I 746 core/jit-calls.h METHOD(ENVADDR(MethodEnv::setpropertylate_i), SIG4(V,P,A,I,A), setpropertylate_i) I 747 core/jit-calls.h METHOD(VECTORDOUBLEADDR(DoubleVectorObject::_setIntProperty), SIG3(V,P,I,A), DoubleVectorObject_setIntProperty) I 748 core/jit-calls.h METHOD(VECTORDOUBLEADDR(DoubleVectorObject::_setNativeIntProperty), SIG3(V,P,I,F), DoubleVectorObject_setNativeIntProperty) I 749 core/jit-calls.h METHOD(VECTORINTADDR(IntVectorObject::_setIntProperty), SIG3(V,P,I,A), IntVectorObject_setIntProperty) I 750 core/jit-calls.h METHOD(VECTORUINTADDR(UIntVectorObject::_setIntProperty), SIG3(V,P,I,A), UIntVectorObject_setIntProperty) I 751 core/jit-calls.h METHOD(VECTORINTADDR(IntVectorObject::_setNativeIntProperty), SIG3(V,P,I,I), IntVectorObject_setNativeIntProperty) I 752 core/jit-calls.h METHOD(VECTORUINTADDR(UIntVectorObject::_setNativeIntProperty), SIG3(V,P,I,U), UIntVectorObject_setNativeIntProperty) I 753 core/jit-calls.h METHOD(ARRAYADDR(ArrayObject::_setIntProperty), SIG3(V,P,I,A), ArrayObject_setIntProperty) I 754 core/jit-calls.h METHOD(VECTOROBJADDR(ObjectVectorObject::_setIntProperty), SIG3(V,P,I,A), ObjectVectorObject_setIntProperty) I 760 core/jit-calls.h METHOD(VECTORINTADDR(IntVectorObject::_getNativeUintProperty), SIG2(I,P,U), IntVectorObject_getNativeUintProperty) I 764 core/jit-calls.h METHOD(ENVADDR(MethodEnv::getpropertylate_i), SIG3(A,P,A,I), getpropertylate_i) I 765 core/jit-calls.h METHOD(VECTORDOUBLEADDR(DoubleVectorObject::_getIntProperty), SIG2(A,P,I), DoubleVectorObject_getIntProperty) I 766 core/jit-calls.h METHOD(VECTORDOUBLEADDR(DoubleVectorObject::_getNativeIntProperty), SIG2(F,P,I), DoubleVectorObject_getNativeIntProperty) I 767 core/jit-calls.h METHOD(VECTORINTADDR(IntVectorObject::_getIntProperty), SIG2(A,P,I), IntVectorObject_getIntProperty) I 768 core/jit-calls.h METHOD(VECTORUINTADDR(UIntVectorObject::_getIntProperty), SIG2(A,P,I), UIntVectorObject_getIntProperty) I 769 core/jit-calls.h METHOD(VECTORINTADDR(IntVectorObject::_getNativeIntProperty), SIG2(I,P,I), IntVectorObject_getNativeIntProperty) I 770 core/jit-calls.h METHOD(VECTORUINTADDR(UIntVectorObject::_getNativeIntProperty), SIG2(U,P,I), UIntVectorObject_getNativeIntProperty) I 771 core/jit-calls.h METHOD(ARRAYADDR(ArrayObject::_getIntProperty), SIG2(A,P,I), ArrayObject_getIntProperty) I 772 core/jit-calls.h METHOD(VECTOROBJADDR(ObjectVectorObject::_getIntProperty), SIG2(A,P,I), ObjectVectorObject_getIntProperty) I 773 core/jit-calls.h METHOD(ENVADDR(MethodEnv::findproperty), SIG7(A,P,P,P,I,P,B,P), findproperty) I 777 core/jit-calls.h METHOD(ENVADDR(MethodEnv::op_newobject), SIG3(P,P,P,I), op_newobject) I 780 core/jit-calls.h FUNCTION(FUNCADDR((constructprop_MethodEnv)&constructprop<MethodEnv*>), SIG4(A,P,P,I,P), construct_late) I 783 core/jit-calls.h FUNCTION(FUNCADDR((op_construct_MethodEnv)&op_construct<MethodEnv*>), SIG4(A,P,A,I,P), op_construct) I 785 core/jit-calls.h METHOD(ENVADDR(MethodEnv::callsuper), SIG4(A,P,P,I,P), callsuper) I 794 core/jit-calls.h CSEMETHOD(COREADDR(AvmCore::intToAtom), SIG2(A,P,I), intToAtom) I 796 core/jit-calls.h CSEMETHOD(ENVADDR(MethodEnv::createRestHelper), SIG3(P,P,I,P), createRestHelper) I 797 core/jit-calls.h CSEMETHOD(ENVADDR(MethodEnv::createArgumentsHelper), SIG3(P,P,I,P), createArgumentsHelper) I 819 core/jit-calls.h CSEFUNCTION(FUNCADDR(MathUtils::doubleToBool), SIG1(I,F), doubleToBool) I 824 core/jit-calls.h FUNCTION(SETJMP, SIG2(I,P,I), fsetjmp) I 829 core/jit-calls.h CSEFUNCTION(FUNCADDR(AvmCore::integer_d_sse2), SIG1(I,F), integer_d_sse2) I 836 core/jit-calls.h METHOD(DEBUGGERADDR(Debugger::debugLine), SIG2(V,P,I), debugLine) I 842 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_lix8), SIG1(I,P), mop_lix8) I 843 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_lix16), SIG1(I,P), mop_lix16) I 844 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_liz8), SIG1(I,P), mop_liz8) I 845 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_liz16), SIG1(I,P), mop_liz16) I 846 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_li32), SIG1(I,P), mop_li32) I 849 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_si8), SIG2(V,P,I), mop_si8) I 850 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_si16), SIG2(V,P,I), mop_si16) I 851 core/jit-calls.h FASTFUNCTION(FUNCADDR(mop_si32), SIG2(V,P,I), mop_si32) I 856 core/jit-calls.h FUNCTION(FUNCADDR((op_call_MethodEnv)&avmplus::op_call<MethodEnv*>), SIG4(A,P,A,I,P), op_call) I 859 core/jit-calls.h FUNCTION(FUNCADDR((op_applytype_MethodEnv)&avmplus::op_applytype<MethodEnv*>), SIG4(A,P,A,I,P), op_applytype) I 862 core/jit-calls.h FUNCTION(FUNCADDR((newarray_MethodEnv)&newarray<MethodEnv*>), SIG3(P,P,I,P), newarray) I 202 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal)); I 203 core/peephole.cpp if (I[0][1] < 4) { I 204 core/peephole.cpp S[0] = WOP_getlocal0 + I[0][1]; I 205 core/peephole.cpp R[0] = NEW_OPCODE(WOP_getlocal0 + I[0][1]); I 210 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal)); I 211 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 214 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 219 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_getlocal)); I 220 core/peephole.cpp if (I[0][1] < 1024 && I[1][1] < 1024 && I[2][1] < 1024) { I 223 core/peephole.cpp R[1] = (I[2][1] << 20) | (I[1][1] << 10) | I[0][1]; I 228 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_getlocal) && I[3][0] == NEW_OPCODE(WOP_getlocal)); I 229 core/peephole.cpp if (I[0][1] < 256 && I[1][1] < 256 && I[2][1] < 256 && I[3][1] < 256) { I 232 core/peephole.cpp R[1] = (I[3][1] << 24) | (I[2][1] << 16) | (I[1][1] << 8) | I[0][1]; I 237 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_getlocal) && I[3][0] == NEW_OPCODE(WOP_getlocal) && I[4][0] == NEW_OPCODE(WOP_getlocal)); I 238 core/peephole.cpp if (I[0][1] < 64 && I[1][1] < 64 && I[2][1] < 64 && I[3][1] < 64 && I[4][1] < 64) { I 241 core/peephole.cpp R[1] = (I[4][1] << 24) | (I[3][1] << 18) | (I[2][1] << 12) | (I[1][1] << 6) | I[0][1]; I 246 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_add)); I 247 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 250 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 255 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_add) && I[3][0] == NEW_OPCODE(WOP_setlocal)); I 256 core/peephole.cpp if (I[0][1] < 1024 && I[1][1] < 1024 && I[3][1] < 1024) { I 259 core/peephole.cpp R[1] = (I[3][1] << 20) | (I[1][1] << 10) | I[0][1]; I 264 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_subtract)); I 265 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 268 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 273 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_multiply)); I 274 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 277 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 282 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_divide)); I 283 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 286 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 291 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_modulo)); I 292 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 295 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 300 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_bitand)); I 301 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 304 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 309 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_bitor)); I 310 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 313 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 318 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_bitxor)); I 319 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 322 core/peephole.cpp R[1] = (I[1][1] << 16) | I[0][1]; I 327 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_iflt)); I 328 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 332 core/peephole.cpp R[1] = I[2][1]; I 333 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 338 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifnlt)); I 339 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 343 core/peephole.cpp R[1] = I[2][1]; I 344 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 349 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifle)); I 350 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 354 core/peephole.cpp R[1] = I[2][1]; I 355 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 360 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifnle)); I 361 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 365 core/peephole.cpp R[1] = I[2][1]; I 366 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 371 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifgt)); I 372 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 376 core/peephole.cpp R[1] = I[2][1]; I 377 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 382 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifngt)); I 383 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 387 core/peephole.cpp R[1] = I[2][1]; I 388 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 393 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifge)); I 394 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 398 core/peephole.cpp R[1] = I[2][1]; I 399 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 404 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifnge)); I 405 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 409 core/peephole.cpp R[1] = I[2][1]; I 410 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 415 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifeq)); I 416 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 420 core/peephole.cpp R[1] = I[2][1]; I 421 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 426 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifne)); I 427 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 431 core/peephole.cpp R[1] = I[2][1]; I 432 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 437 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifstricteq)); I 438 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 442 core/peephole.cpp R[1] = I[2][1]; I 443 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 448 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal) && I[2][0] == NEW_OPCODE(WOP_ifstrictne)); I 449 core/peephole.cpp if (I[0][1] < 65536 && I[1][1] < 65536) { I 453 core/peephole.cpp R[1] = I[2][1]; I 454 core/peephole.cpp R[2] = (I[1][1] << 16) | I[0][1]; I 459 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_add)); I 463 core/peephole.cpp R[1] = I[0][1]; I 464 core/peephole.cpp R[2] = I[1][1]; I 469 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_subtract)); I 473 core/peephole.cpp R[1] = I[0][1]; I 474 core/peephole.cpp R[2] = I[1][1]; I 479 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_multiply)); I 483 core/peephole.cpp R[1] = I[0][1]; I 484 core/peephole.cpp R[2] = I[1][1]; I 489 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_divide)); I 493 core/peephole.cpp R[1] = I[0][1]; I 494 core/peephole.cpp R[2] = I[1][1]; I 499 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_bitand)); I 503 core/peephole.cpp R[1] = I[0][1]; I 504 core/peephole.cpp R[2] = I[1][1]; I 509 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_bitor)); I 513 core/peephole.cpp R[1] = I[0][1]; I 514 core/peephole.cpp R[2] = I[1][1]; I 519 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_bitxor)); I 523 core/peephole.cpp R[1] = I[0][1]; I 524 core/peephole.cpp R[2] = I[1][1]; I 529 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_iflt)); I 534 core/peephole.cpp R[1] = I[2][1]; I 535 core/peephole.cpp R[2] = I[0][1]; I 536 core/peephole.cpp R[3] = I[1][1]; I 541 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifnlt)); I 546 core/peephole.cpp R[1] = I[2][1]; I 547 core/peephole.cpp R[2] = I[0][1]; I 548 core/peephole.cpp R[3] = I[1][1]; I 553 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifle)); I 558 core/peephole.cpp R[1] = I[2][1]; I 559 core/peephole.cpp R[2] = I[0][1]; I 560 core/peephole.cpp R[3] = I[1][1]; I 565 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifnle)); I 570 core/peephole.cpp R[1] = I[2][1]; I 571 core/peephole.cpp R[2] = I[0][1]; I 572 core/peephole.cpp R[3] = I[1][1]; I 577 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifgt)); I 582 core/peephole.cpp R[1] = I[2][1]; I 583 core/peephole.cpp R[2] = I[0][1]; I 584 core/peephole.cpp R[3] = I[1][1]; I 589 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifngt)); I 594 core/peephole.cpp R[1] = I[2][1]; I 595 core/peephole.cpp R[2] = I[0][1]; I 596 core/peephole.cpp R[3] = I[1][1]; I 601 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifge)); I 606 core/peephole.cpp R[1] = I[2][1]; I 607 core/peephole.cpp R[2] = I[0][1]; I 608 core/peephole.cpp R[3] = I[1][1]; I 613 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifnge)); I 618 core/peephole.cpp R[1] = I[2][1]; I 619 core/peephole.cpp R[2] = I[0][1]; I 620 core/peephole.cpp R[3] = I[1][1]; I 625 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifeq)); I 630 core/peephole.cpp R[1] = I[2][1]; I 631 core/peephole.cpp R[2] = I[0][1]; I 632 core/peephole.cpp R[3] = I[1][1]; I 637 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifne)); I 642 core/peephole.cpp R[1] = I[2][1]; I 643 core/peephole.cpp R[2] = I[0][1]; I 644 core/peephole.cpp R[3] = I[1][1]; I 649 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifstricteq)); I 654 core/peephole.cpp R[1] = I[2][1]; I 655 core/peephole.cpp R[2] = I[0][1]; I 656 core/peephole.cpp R[3] = I[1][1]; I 661 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_getlocal) && I[1][0] == NEW_OPCODE(WOP_pushbits) && I[2][0] == NEW_OPCODE(WOP_ifstrictne)); I 666 core/peephole.cpp R[1] = I[2][1]; I 667 core/peephole.cpp R[2] = I[0][1]; I 668 core/peephole.cpp R[3] = I[1][1]; I 673 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_setlocal)); I 674 core/peephole.cpp if (I[0][1] < 4) { I 675 core/peephole.cpp S[0] = WOP_setlocal0 + I[0][1]; I 676 core/peephole.cpp R[0] = NEW_OPCODE(WOP_setlocal0 + I[0][1]); I 681 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_setlocal) && I[1][0] == NEW_OPCODE(WOP_getlocal)); I 682 core/peephole.cpp if (I[0][1] == I[1][1]) { I 685 core/peephole.cpp R[1] = I[0][1]; I 690 core/peephole.cpp AvmAssert(I[0][0] == NEW_OPCODE(WOP_swap) && I[1][0] == NEW_OPCODE(WOP_pop)); I 380 nanojit/NativeX64.cpp void Assembler::SHRI( R r, I i) { emit8(rexrb(X64_shri | U64(r&7)<<48, (R)0, r), i); asm_output("shrl %s, %d", RL(r), i); } I 381 nanojit/NativeX64.cpp void Assembler::SARI( R r, I i) { emit8(rexrb(X64_sari | U64(r&7)<<48, (R)0, r), i); asm_output("sarl %s, %d", RL(r), i); } I 382 nanojit/NativeX64.cpp void Assembler::SHLI( R r, I i) { emit8(rexrb(X64_shli | U64(r&7)<<48, (R)0, r), i); asm_output("shll %s, %d", RL(r), i); } I 383 nanojit/NativeX64.cpp void Assembler::SHRQI(R r, I i) { emit8(rexrb(X64_shrqi | U64(r&7)<<48, (R)0, r), i); asm_output("shrq %s, %d", RQ(r), i); } I 384 nanojit/NativeX64.cpp void Assembler::SARQI(R r, I i) { emit8(rexrb(X64_sarqi | U64(r&7)<<48, (R)0, r), i); asm_output("sarq %s, %d", RQ(r), i); } I 385 nanojit/NativeX64.cpp void Assembler::SHLQI(R r, I i) { emit8(rexrb(X64_shlqi | U64(r&7)<<48, (R)0, r), i); asm_output("shlq %s, %d", RQ(r), i); } I 496 nanojit/NativeX64.cpp void Assembler::LEAQRM(R r1, I d, R r2) { emitrm(X64_leaqrm,r1,d,r2); asm_output("leaq %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 497 nanojit/NativeX64.cpp void Assembler::MOVLRM(R r1, I d, R r2) { emitrm(X64_movlrm,r1,d,r2); asm_output("movl %s, %d(%s)",RL(r1),d,RQ(r2)); } I 498 nanojit/NativeX64.cpp void Assembler::MOVQRM(R r1, I d, R r2) { emitrm(X64_movqrm,r1,d,r2); asm_output("movq %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 499 nanojit/NativeX64.cpp void Assembler::MOVBMR(R r1, I d, R r2) { emitrm8(X64_movbmr,r1,d,r2); asm_output("movb %d(%s), %s",d,RQ(r1),RB(r2)); } I 500 nanojit/NativeX64.cpp void Assembler::MOVSMR(R r1, I d, R r2) { emitprm(X64_movsmr,r1,d,r2); asm_output("movs %d(%s), %s",d,RQ(r1),RS(r2)); } I 501 nanojit/NativeX64.cpp void Assembler::MOVLMR(R r1, I d, R r2) { emitrm(X64_movlmr,r1,d,r2); asm_output("movl %d(%s), %s",d,RQ(r1),RL(r2)); } I 502 nanojit/NativeX64.cpp void Assembler::MOVQMR(R r1, I d, R r2) { emitrm(X64_movqmr,r1,d,r2); asm_output("movq %d(%s), %s",d,RQ(r1),RQ(r2)); } I 504 nanojit/NativeX64.cpp void Assembler::MOVZX8M( R r1, I d, R r2) { emitrm_wide(X64_movzx8m, r1,d,r2); asm_output("movzxb %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 505 nanojit/NativeX64.cpp void Assembler::MOVZX16M(R r1, I d, R r2) { emitrm_wide(X64_movzx16m,r1,d,r2); asm_output("movzxs %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 507 nanojit/NativeX64.cpp void Assembler::MOVSX8M( R r1, I d, R r2) { emitrm_wide(X64_movsx8m, r1,d,r2); asm_output("movsxb %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 508 nanojit/NativeX64.cpp void Assembler::MOVSX16M(R r1, I d, R r2) { emitrm_wide(X64_movsx16m,r1,d,r2); asm_output("movsxs %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 510 nanojit/NativeX64.cpp void Assembler::MOVSDRM(R r1, I d, R r2) { emitprm(X64_movsdrm,r1,d,r2); asm_output("movsd %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 511 nanojit/NativeX64.cpp void Assembler::MOVSDMR(R r1, I d, R r2) { emitprm(X64_movsdmr,r1,d,r2); asm_output("movsd %d(%s), %s",d,RQ(r1),RQ(r2)); } I 512 nanojit/NativeX64.cpp void Assembler::MOVSSRM(R r1, I d, R r2) { emitprm(X64_movssrm,r1,d,r2); asm_output("movss %s, %d(%s)",RQ(r1),d,RQ(r2)); } I 513 nanojit/NativeX64.cpp void Assembler::MOVSSMR(R r1, I d, R r2) { emitprm(X64_movssmr,r1,d,r2); asm_output("movss %d(%s), %s",d,RQ(r1),RQ(r2)); } I 574 nanojit/NativeX64.cpp void Assembler::MOVQSPR(I d, R r) { emit(X64_movqspr | U64(d) << 56 | U64((r&7)<<3) << 40 | U64((r&8)>>1) << 24); asm_output("movq %d(rsp), %s", d, RQ(r)); } // insert r into mod/rm and rex bytes