summaryrefslogtreecommitdiff
path: root/src/buildvm_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_x86.h')
-rw-r--r--src/buildvm_x86.h847
1 files changed, 428 insertions, 419 deletions
diff --git a/src/buildvm_x86.h b/src/buildvm_x86.h
index 4d1aa660..ef8ba886 100644
--- a/src/buildvm_x86.h
+++ b/src/buildvm_x86.h
@@ -12,7 +12,7 @@
12#define DASM_SECTION_CODE_OP 0 12#define DASM_SECTION_CODE_OP 0
13#define DASM_SECTION_CODE_SUB 1 13#define DASM_SECTION_CODE_SUB 1
14#define DASM_MAXSECTION 2 14#define DASM_MAXSECTION 2
15static const unsigned char build_actionlist[15684] = { 15static const unsigned char build_actionlist[15694] = {
16 254,1,248,10,252,247,198,237,15,132,244,11,131,230,252,248,41,252,242,141, 16 254,1,248,10,252,247,198,237,15,132,244,11,131,230,252,248,41,252,242,141,
17 76,49,252,248,139,114,252,252,199,68,10,4,237,248,12,131,192,1,137,68,36, 17 76,49,252,248,139,114,252,252,199,68,10,4,237,248,12,131,192,1,137,68,36,
18 20,252,247,198,237,15,132,244,13,248,14,129,252,246,239,252,247,198,237,15, 18 20,252,247,198,237,15,132,244,13,248,14,129,252,246,239,252,247,198,237,15,
@@ -533,149 +533,150 @@ static const unsigned char build_actionlist[15684] = {
533 244,248,217,201,248,2,221,216,195,255,248,155,156,90,137,209,129,252,242, 533 244,248,217,201,248,2,221,216,195,255,248,155,156,90,137,209,129,252,242,
534 0,0,32,0,82,157,156,90,49,192,57,209,15,132,244,247,139,68,36,4,87,83,15, 534 0,0,32,0,82,157,156,90,49,192,57,209,15,132,244,247,139,68,36,4,87,83,15,
535 162,139,124,36,16,137,7,137,95,4,137,79,8,137,87,12,91,95,248,1,195,248,156, 535 162,139,124,36,16,137,7,137,95,4,137,79,8,137,87,12,91,95,248,1,195,248,156,
536 255,85,137,229,83,137,203,43,163,233,15,182,139,233,131,252,233,1,15,136, 536 255,85,137,229,83,137,203,43,163,233,255,137,163,233,255,15,182,139,233,131,
537 244,248,248,1,139,132,253,139,233,137,4,140,131,252,233,1,15,137,244,1,248, 537 252,233,1,15,136,244,248,248,1,139,132,253,139,233,137,4,140,131,252,233,
538 2,139,139,233,139,147,233,252,255,147,233,137,131,233,137,147,233,128,187, 538 1,15,137,244,1,248,2,139,139,233,139,147,233,252,255,147,233,137,131,233,
539 233,1,15,130,244,253,15,132,244,252,221,155,233,255,252,233,244,253,248,6, 539 137,147,233,128,187,233,1,15,130,244,253,15,132,244,252,221,155,233,252,233,
540 217,155,233,248,7,139,93,252,252,201,195,255,249,255,129,124,253,202,4,239, 540 244,253,248,6,255,217,155,233,248,7,255,41,163,233,255,139,93,252,252,201,
541 15,135,244,41,129,124,253,194,4,239,15,135,244,41,255,252,242,15,16,4,194, 541 195,255,249,255,129,124,253,202,4,239,15,135,244,41,129,124,253,194,4,239,
542 131,198,4,102,15,46,4,202,255,221,4,202,221,4,194,131,198,4,255,223,252,233, 542 15,135,244,41,255,252,242,15,16,4,194,131,198,4,102,15,46,4,202,255,221,4,
543 221,216,255,218,252,233,223,224,158,255,15,134,244,248,255,15,131,244,248, 543 202,221,4,194,131,198,4,255,223,252,233,221,216,255,218,252,233,223,224,158,
544 255,248,1,15,183,70,252,254,141,180,253,134,233,248,2,139,6,15,182,204,15, 544 255,15,134,244,248,255,15,131,244,248,255,248,1,15,183,70,252,254,141,180,
545 182,232,131,198,4,193,232,16,252,255,36,171,255,139,108,194,4,131,198,4,129, 545 253,134,233,248,2,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
546 252,253,239,15,135,244,251,129,124,253,202,4,239,15,135,244,251,255,252,242, 546 36,171,255,139,108,194,4,131,198,4,129,252,253,239,15,135,244,251,129,124,
547 15,16,4,194,102,15,46,4,202,255,221,4,202,221,4,194,255,15,138,244,248,15, 547 253,202,4,239,15,135,244,251,255,252,242,15,16,4,194,102,15,46,4,202,255,
548 133,244,248,255,15,138,244,248,15,132,244,247,255,248,1,15,183,70,252,254, 548 221,4,202,221,4,194,255,15,138,244,248,15,133,244,248,255,15,138,244,248,
549 141,180,253,134,233,248,2,255,248,2,15,183,70,252,254,141,180,253,134,233, 549 15,132,244,247,255,248,1,15,183,70,252,254,141,180,253,134,233,248,2,255,
550 248,1,255,248,5,57,108,202,4,15,133,244,2,129,252,253,239,15,131,244,1,139, 550 248,2,15,183,70,252,254,141,180,253,134,233,248,1,255,248,5,57,108,202,4,
551 12,202,139,4,194,57,193,15,132,244,1,129,252,253,239,15,135,244,2,139,169, 551 15,133,244,2,129,252,253,239,15,131,244,1,139,12,202,139,4,194,57,193,15,
552 233,133,252,237,15,132,244,2,252,246,133,233,235,15,133,244,2,255,49,252, 552 132,244,1,129,252,253,239,15,135,244,2,139,169,233,133,252,237,15,132,244,
553 237,255,189,1,0,0,0,255,252,233,244,45,255,252,247,208,131,198,4,129,124, 553 2,252,246,133,233,235,15,133,244,2,255,49,252,237,255,189,1,0,0,0,255,252,
554 253,202,4,239,15,133,244,248,139,12,202,59,12,135,255,131,198,4,129,124,253, 554 233,244,45,255,252,247,208,131,198,4,129,124,253,202,4,239,15,133,244,248,
555 202,4,239,15,135,244,248,255,252,242,15,16,4,199,102,15,46,4,202,255,221, 555 139,12,202,59,12,135,255,131,198,4,129,124,253,202,4,239,15,135,244,248,255,
556 4,202,221,4,199,255,252,247,208,131,198,4,57,68,202,4,255,139,108,194,4,131, 556 252,242,15,16,4,199,102,15,46,4,202,255,221,4,202,221,4,199,255,252,247,208,
557 198,4,129,252,253,239,255,15,131,244,247,255,15,130,244,247,255,137,108,202, 557 131,198,4,57,68,202,4,255,139,108,194,4,131,198,4,129,252,253,239,255,15,
558 4,139,44,194,137,44,202,255,15,183,70,252,254,141,180,253,134,233,248,1,139, 558 131,244,247,255,15,130,244,247,255,137,108,202,4,139,44,194,137,44,202,255,
559 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,139,108,194, 559 15,183,70,252,254,141,180,253,134,233,248,1,139,6,15,182,204,15,182,232,131,
560 4,139,4,194,137,108,202,4,137,4,202,139,6,15,182,204,15,182,232,131,198,4, 560 198,4,193,232,16,252,255,36,171,255,139,108,194,4,139,4,194,137,108,202,4,
561 193,232,16,252,255,36,171,255,49,252,237,129,124,253,194,4,239,129,213,239, 561 137,4,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,
562 137,108,202,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36, 562 255,49,252,237,129,124,253,194,4,239,129,213,239,137,108,202,4,139,6,15,182,
563 171,255,129,124,253,194,4,239,15,135,244,48,255,252,242,15,16,4,194,184,0, 563 204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,129,124,253,194,4,
564 0,0,128,102,15,110,200,102,15,112,201,81,15,87,193,252,242,15,17,4,202,255, 564 239,15,135,244,48,255,252,242,15,16,4,194,184,0,0,0,128,102,15,110,200,102,
565 221,4,194,217,224,221,28,202,255,129,124,253,194,4,239,15,133,244,248,139, 565 15,112,201,81,15,87,193,252,242,15,17,4,202,255,221,4,194,217,224,221,28,
566 4,194,255,15,87,192,252,242,15,42,128,233,248,1,252,242,15,17,4,202,255,219, 566 202,255,129,124,253,194,4,239,15,133,244,248,139,4,194,255,15,87,192,252,
567 128,233,248,1,221,28,202,255,139,6,15,182,204,15,182,232,131,198,4,193,232, 567 242,15,42,128,233,248,1,252,242,15,17,4,202,255,219,128,233,248,1,221,28,
568 16,252,255,36,171,248,2,129,124,253,194,4,239,15,133,244,50,139,12,194,137, 568 202,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,
569 213,232,251,1,18,255,252,242,15,42,192,137,252,234,255,137,4,36,137,252,234, 569 2,129,124,253,194,4,239,15,133,244,50,139,12,194,137,213,232,251,1,18,255,
570 219,4,36,255,15,182,78,252,253,252,233,244,1,255,15,182,252,236,15,182,192, 570 252,242,15,42,192,137,252,234,255,137,4,36,137,252,234,219,4,36,255,15,182,
571 255,129,124,253,252,234,4,239,15,135,244,46,255,252,242,15,16,4,252,234,252, 571 78,252,253,252,233,244,1,255,15,182,252,236,15,182,192,255,129,124,253,252,
572 242,15,88,4,199,255,221,4,252,234,220,4,199,255,129,124,253,252,234,4,239, 572 234,4,239,15,135,244,46,255,252,242,15,16,4,252,234,252,242,15,88,4,199,255,
573 15,135,244,47,255,252,242,15,16,4,199,252,242,15,88,4,252,234,255,221,4,199, 573 221,4,252,234,220,4,199,255,129,124,253,252,234,4,239,15,135,244,47,255,252,
574 220,4,252,234,255,129,124,253,252,234,4,239,15,135,244,49,129,124,253,194, 574 242,15,16,4,199,252,242,15,88,4,252,234,255,221,4,199,220,4,252,234,255,129,
575 4,239,15,135,244,49,255,252,242,15,16,4,252,234,252,242,15,88,4,194,255,221, 575 124,253,252,234,4,239,15,135,244,49,129,124,253,194,4,239,15,135,244,49,255,
576 4,252,234,220,4,194,255,252,242,15,16,4,252,234,252,242,15,92,4,199,255,221, 576 252,242,15,16,4,252,234,252,242,15,88,4,194,255,221,4,252,234,220,4,194,255,
577 4,252,234,220,36,199,255,252,242,15,16,4,199,252,242,15,92,4,252,234,255, 577 252,242,15,16,4,252,234,252,242,15,92,4,199,255,221,4,252,234,220,36,199,
578 221,4,199,220,36,252,234,255,252,242,15,16,4,252,234,252,242,15,92,4,194, 578 255,252,242,15,16,4,199,252,242,15,92,4,252,234,255,221,4,199,220,36,252,
579 255,221,4,252,234,220,36,194,255,252,242,15,16,4,252,234,252,242,15,89,4, 579 234,255,252,242,15,16,4,252,234,252,242,15,92,4,194,255,221,4,252,234,220,
580 199,255,221,4,252,234,220,12,199,255,252,242,15,16,4,199,252,242,15,89,4, 580 36,194,255,252,242,15,16,4,252,234,252,242,15,89,4,199,255,221,4,252,234,
581 252,234,255,221,4,199,220,12,252,234,255,252,242,15,16,4,252,234,252,242, 581 220,12,199,255,252,242,15,16,4,199,252,242,15,89,4,252,234,255,221,4,199,
582 15,89,4,194,255,221,4,252,234,220,12,194,255,252,242,15,16,4,252,234,252, 582 220,12,252,234,255,252,242,15,16,4,252,234,252,242,15,89,4,194,255,221,4,
583 242,15,94,4,199,255,221,4,252,234,220,52,199,255,252,242,15,16,4,199,252, 583 252,234,220,12,194,255,252,242,15,16,4,252,234,252,242,15,94,4,199,255,221,
584 242,15,94,4,252,234,255,221,4,199,220,52,252,234,255,252,242,15,16,4,252, 584 4,252,234,220,52,199,255,252,242,15,16,4,199,252,242,15,94,4,252,234,255,
585 234,252,242,15,94,4,194,255,221,4,252,234,220,52,194,255,252,242,15,16,4, 585 221,4,199,220,52,252,234,255,252,242,15,16,4,252,234,252,242,15,94,4,194,
586 252,234,252,242,15,16,12,199,255,221,4,252,234,221,4,199,255,252,242,15,16, 586 255,221,4,252,234,220,52,194,255,252,242,15,16,4,252,234,252,242,15,16,12,
587 4,199,252,242,15,16,12,252,234,255,221,4,199,221,4,252,234,255,252,242,15, 587 199,255,221,4,252,234,221,4,199,255,252,242,15,16,4,199,252,242,15,16,12,
588 16,4,252,234,252,242,15,16,12,194,255,221,4,252,234,221,4,194,255,248,157, 588 252,234,255,221,4,199,221,4,252,234,255,252,242,15,16,4,252,234,252,242,15,
589 232,244,148,255,252,233,244,157,255,232,244,107,255,15,182,252,236,15,182, 589 16,12,194,255,221,4,252,234,221,4,194,255,248,157,232,244,148,255,252,233,
590 192,141,12,194,41,232,137,76,36,4,137,68,36,8,248,33,139,108,36,48,137,44, 590 244,157,255,232,244,107,255,15,182,252,236,15,182,192,141,12,194,41,232,137,
591 36,137,149,233,137,116,36,24,232,251,1,25,139,149,233,133,192,15,133,244, 591 76,36,4,137,68,36,8,248,33,139,108,36,48,137,44,36,137,149,233,137,116,36,
592 42,15,182,110,252,255,15,182,78,252,253,139,68,252,234,4,139,44,252,234,137, 592 24,232,251,1,25,139,149,233,133,192,15,133,244,42,15,182,110,252,255,15,182,
593 68,202,4,137,44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252, 593 78,252,253,139,68,252,234,4,139,44,252,234,137,68,202,4,137,44,202,139,6,
594 255,36,171,255,252,247,208,139,4,135,199,68,202,4,237,137,4,202,139,6,15, 594 15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,252,247,208,
595 182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,15,191,192,252, 595 139,4,135,199,68,202,4,237,137,4,202,139,6,15,182,204,15,182,232,131,198,
596 242,15,42,192,252,242,15,17,4,202,255,223,70,252,254,221,28,202,255,252,242, 596 4,193,232,16,252,255,36,171,255,15,191,192,252,242,15,42,192,252,242,15,17,
597 15,16,4,199,252,242,15,17,4,202,255,221,4,199,221,28,202,255,252,247,208, 597 4,202,255,223,70,252,254,221,28,202,255,252,242,15,16,4,199,252,242,15,17,
598 137,68,202,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36, 598 4,202,255,221,4,199,221,28,202,255,252,247,208,137,68,202,4,139,6,15,182,
599 171,255,141,76,202,12,141,68,194,4,189,237,137,105,252,248,248,1,137,41,131, 599 204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,141,76,202,12,141,
600 193,8,57,193,15,134,244,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16, 600 68,194,4,189,237,137,105,252,248,248,1,137,41,131,193,8,57,193,15,134,244,
601 252,255,36,171,255,139,106,252,248,139,172,253,133,233,139,173,233,139,69, 601 1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,139,
602 4,139,109,0,137,68,202,4,137,44,202,139,6,15,182,204,15,182,232,131,198,4, 602 106,252,248,139,172,253,133,233,139,173,233,139,69,4,139,109,0,137,68,202,
603 193,232,16,252,255,36,171,255,139,106,252,248,139,172,253,141,233,128,189, 603 4,137,44,202,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,
604 233,0,139,173,233,139,12,194,139,68,194,4,137,77,0,137,69,4,15,132,244,247, 604 171,255,139,106,252,248,139,172,253,141,233,128,189,233,0,139,173,233,139,
605 252,246,133,233,235,15,133,244,248,248,1,139,6,15,182,204,15,182,232,131, 605 12,194,139,68,194,4,137,77,0,137,69,4,15,132,244,247,252,246,133,233,235,
606 198,4,193,232,16,252,255,36,171,248,2,129,232,239,129,252,248,239,15,134, 606 15,133,244,248,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,
607 244,1,252,246,129,233,235,15,132,244,1,135,213,141,139,233,255,232,251,1, 607 255,36,171,248,2,129,232,239,129,252,248,239,15,134,244,1,252,246,129,233,
608 26,137,252,234,252,233,244,1,255,252,247,208,139,106,252,248,139,172,253, 608 235,15,132,244,1,135,213,141,139,233,255,232,251,1,26,137,252,234,252,233,
609 141,233,139,12,135,139,133,233,137,8,199,64,4,237,252,246,133,233,235,15, 609 244,1,255,252,247,208,139,106,252,248,139,172,253,141,233,139,12,135,139,
610 133,244,248,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, 610 133,233,137,8,199,64,4,237,252,246,133,233,235,15,133,244,248,248,1,139,6,
611 36,171,248,2,252,246,129,233,235,15,132,244,1,128,189,233,0,15,132,244,1, 611 15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,2,252,246,129,
612 137,213,137,194,141,139,233,232,251,1,26,137,252,234,252,233,244,1,255,139, 612 233,235,15,132,244,1,128,189,233,0,15,132,244,1,137,213,137,194,141,139,233,
613 106,252,248,255,252,242,15,16,4,199,255,139,172,253,141,233,139,141,233,255, 613 232,251,1,26,137,252,234,252,233,244,1,255,139,106,252,248,255,252,242,15,
614 252,242,15,17,1,255,221,25,255,252,247,208,139,106,252,248,139,172,253,141, 614 16,4,199,255,139,172,253,141,233,139,141,233,255,252,242,15,17,1,255,221,
615 233,139,141,233,137,65,4,139,6,15,182,204,15,182,232,131,198,4,193,232,16, 615 25,255,252,247,208,139,106,252,248,139,172,253,141,233,139,141,233,137,65,
616 252,255,36,171,255,141,180,253,134,233,139,108,36,48,131,189,233,0,15,132, 616 4,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,141,
617 244,247,137,149,233,141,20,202,137,252,233,232,251,1,27,139,149,233,248,1, 617 180,253,134,233,139,108,36,48,131,189,233,0,15,132,244,247,137,149,233,141,
618 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,252,247, 618 20,202,137,252,233,232,251,1,27,139,149,233,248,1,139,6,15,182,204,15,182,
619 208,139,74,252,248,139,4,135,139,108,36,48,137,76,36,8,137,68,36,4,137,44, 619 232,131,198,4,193,232,16,252,255,36,171,255,252,247,208,139,74,252,248,139,
620 36,137,149,233,137,116,36,24,232,251,1,28,139,149,233,15,182,78,252,253,137, 620 4,135,139,108,36,48,137,76,36,8,137,68,36,4,137,44,36,137,149,233,137,116,
621 4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252, 621 36,24,232,251,1,28,139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,
622 255,36,171,255,139,108,36,48,137,149,233,139,139,233,59,139,233,137,116,36, 622 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,255,139,108,
623 24,15,131,244,251,248,1,137,193,37,252,255,7,0,0,193,252,233,11,137,76,36, 623 36,48,137,149,233,139,139,233,59,139,233,137,116,36,24,15,131,244,251,248,
624 8,61,252,255,7,0,0,15,132,244,249,248,2,137,44,36,137,68,36,4,232,251,1,29, 624 1,137,193,37,252,255,7,0,0,193,252,233,11,137,76,36,8,61,252,255,7,0,0,15,
625 139,149,233,15,182,78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,204, 625 132,244,249,248,2,137,44,36,137,68,36,4,232,251,1,29,139,149,233,15,182,78,
626 15,182,232,131,198,4,193,232,16,252,255,36,171,248,3,184,1,8,0,0,252,233, 626 252,253,137,4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,
627 244,2,248,5,137,252,233,232,251,1,30,15,183,70,252,254,252,233,244,1,255, 627 193,232,16,252,255,36,171,248,3,184,1,8,0,0,252,233,244,2,248,5,137,252,233,
628 252,247,208,139,108,36,48,139,139,233,137,116,36,24,59,139,233,137,149,233, 628 232,251,1,30,15,183,70,252,254,252,233,244,1,255,252,247,208,139,108,36,48,
629 15,131,244,249,248,2,139,20,135,137,252,233,232,251,1,31,139,149,233,15,182, 629 139,139,233,137,116,36,24,59,139,233,137,149,233,15,131,244,249,248,2,139,
630 78,252,253,137,4,202,199,68,202,4,237,139,6,15,182,204,15,182,232,131,198, 630 20,135,137,252,233,232,251,1,31,139,149,233,15,182,78,252,253,137,4,202,199,
631 4,193,232,16,252,255,36,171,248,3,137,252,233,232,251,1,30,15,183,70,252, 631 68,202,4,237,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,
632 254,252,247,208,252,233,244,2,255,252,247,208,139,106,252,248,139,173,233, 632 171,248,3,137,252,233,232,251,1,30,15,183,70,252,254,252,247,208,252,233,
633 139,4,135,252,233,244,158,255,252,247,208,139,106,252,248,139,173,233,139, 633 244,2,255,252,247,208,139,106,252,248,139,173,233,139,4,135,252,233,244,158,
634 4,135,252,233,244,159,255,15,182,252,236,15,182,192,129,124,253,252,234,4, 634 255,252,247,208,139,106,252,248,139,173,233,139,4,135,252,233,244,159,255,
635 239,15,133,244,36,139,44,252,234,129,124,253,194,4,239,15,135,244,251,255, 635 15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,36,139,44,
636 252,242,15,16,4,194,252,242,15,45,192,252,242,15,42,200,102,15,46,193,255, 636 252,234,129,124,253,194,4,239,15,135,244,251,255,252,242,15,16,4,194,252,
637 221,4,194,219,20,36,219,4,36,255,15,133,244,36,59,133,233,15,131,244,36,193, 637 242,15,45,192,252,242,15,42,200,102,15,46,193,255,221,4,194,219,20,36,219,
638 224,3,3,133,233,129,120,253,4,239,15,132,244,248,139,40,139,64,4,137,44,202, 638 4,36,255,15,133,244,36,59,133,233,15,131,244,36,193,224,3,3,133,233,129,120,
639 137,68,202,4,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, 639 253,4,239,15,132,244,248,139,40,139,64,4,137,44,202,137,68,202,4,248,1,139,
640 36,171,248,2,131,189,233,0,15,132,244,249,139,141,233,252,246,129,233,235, 640 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,2,131,189,
641 15,132,244,36,15,182,78,252,253,248,3,255,199,68,202,4,237,252,233,244,1, 641 233,0,15,132,244,249,139,141,233,252,246,129,233,235,15,132,244,36,15,182,
642 248,5,129,124,253,194,4,239,15,133,244,36,139,4,194,252,233,244,158,255,15, 642 78,252,253,248,3,255,199,68,202,4,237,252,233,244,1,248,5,129,124,253,194,
643 182,252,236,15,182,192,252,247,208,139,4,135,129,124,253,252,234,4,239,15, 643 4,239,15,133,244,36,139,4,194,252,233,244,158,255,15,182,252,236,15,182,192,
644 133,244,34,139,44,252,234,248,158,139,141,233,35,136,233,105,201,239,3,141, 644 252,247,208,139,4,135,129,124,253,252,234,4,239,15,133,244,34,139,44,252,
645 233,248,1,129,185,233,239,15,133,244,250,57,129,233,15,133,244,250,129,121, 645 234,248,158,139,141,233,35,136,233,105,201,239,3,141,233,248,1,129,185,233,
646 253,4,239,15,132,244,251,15,182,70,252,253,139,41,139,73,4,137,44,194,137, 646 239,15,133,244,250,57,129,233,15,133,244,250,129,121,253,4,239,15,132,244,
647 76,194,4,248,2,255,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, 647 251,15,182,70,252,253,139,41,139,73,4,137,44,194,137,76,194,4,248,2,255,139,
648 36,171,248,3,15,182,70,252,253,199,68,194,4,237,252,233,244,2,248,4,139,137, 648 6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,3,15,182,
649 233,133,201,15,133,244,1,248,5,139,141,233,133,201,15,132,244,3,252,246,129, 649 70,252,253,199,68,194,4,237,252,233,244,2,248,4,139,137,233,133,201,15,133,
650 233,235,15,133,244,3,252,233,244,34,255,15,182,252,236,15,182,192,129,124, 650 244,1,248,5,139,141,233,133,201,15,132,244,3,252,246,129,233,235,15,133,244,
651 253,252,234,4,239,15,133,244,35,139,44,252,234,59,133,233,15,131,244,35,193, 651 3,252,233,244,34,255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,
652 224,3,3,133,233,129,120,253,4,239,15,132,244,248,139,40,139,64,4,137,44,202, 652 15,133,244,35,139,44,252,234,59,133,233,15,131,244,35,193,224,3,3,133,233,
653 137,68,202,4,248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, 653 129,120,253,4,239,15,132,244,248,139,40,139,64,4,137,44,202,137,68,202,4,
654 36,171,248,2,131,189,233,0,15,132,244,249,139,141,233,252,246,129,233,235, 654 248,1,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,
655 15,132,244,35,255,15,182,78,252,253,248,3,199,68,202,4,237,252,233,244,1, 655 2,131,189,233,0,15,132,244,249,139,141,233,252,246,129,233,235,15,132,244,
656 255,15,182,252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,39,139, 656 35,255,15,182,78,252,253,248,3,199,68,202,4,237,252,233,244,1,255,15,182,
657 44,252,234,129,124,253,194,4,239,15,135,244,251,255,15,133,244,39,59,133, 657 252,236,15,182,192,129,124,253,252,234,4,239,15,133,244,39,139,44,252,234,
658 233,15,131,244,39,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248, 658 129,124,253,194,4,239,15,135,244,251,255,15,133,244,39,59,133,233,15,131,
659 1,252,246,133,233,235,15,133,244,253,248,2,139,108,202,4,139,12,202,137,104, 659 244,39,193,224,3,3,133,233,129,120,253,4,239,15,132,244,249,248,1,252,246,
660 4,137,8,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248, 660 133,233,235,15,133,244,253,248,2,139,108,202,4,139,12,202,137,104,4,137,8,
661 3,131,189,233,0,15,132,244,1,139,141,233,255,252,246,129,233,235,15,132,244, 661 139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,3,131,
662 39,15,182,78,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244, 662 189,233,0,15,132,244,1,139,141,233,255,252,246,129,233,235,15,132,244,39,
663 39,139,4,194,252,233,244,159,248,7,128,165,233,235,139,139,233,137,171,233, 663 15,182,78,252,253,252,233,244,1,248,5,129,124,253,194,4,239,15,133,244,39,
664 137,141,233,15,182,78,252,253,252,233,244,2,255,15,182,252,236,15,182,192, 664 139,4,194,252,233,244,159,248,7,128,165,233,235,139,139,233,137,171,233,137,
665 252,247,208,139,4,135,129,124,253,252,234,4,239,15,133,244,37,139,44,252, 665 141,233,15,182,78,252,253,252,233,244,2,255,15,182,252,236,15,182,192,252,
666 234,248,159,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,233,248, 666 247,208,139,4,135,129,124,253,252,234,4,239,15,133,244,37,139,44,252,234,
667 1,129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,253,4, 667 248,159,139,141,233,35,136,233,105,201,239,198,133,233,0,3,141,233,248,1,
668 239,15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,3,15, 668 129,185,233,239,15,133,244,251,57,129,233,15,133,244,251,129,121,253,4,239,
669 182,70,252,253,139,108,194,4,139,4,194,137,105,4,137,1,139,6,15,182,204,15, 669 15,132,244,250,248,2,255,252,246,133,233,235,15,133,244,253,248,3,15,182,
670 182,232,131,198,4,193,232,16,252,255,36,171,248,4,131,189,233,0,15,132,244, 670 70,252,253,139,108,194,4,139,4,194,137,105,4,137,1,139,6,15,182,204,15,182,
671 2,137,76,36,16,139,141,233,252,246,129,233,235,15,132,244,37,139,76,36,16, 671 232,131,198,4,193,232,16,252,255,36,171,248,4,131,189,233,0,15,132,244,2,
672 252,233,244,2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133, 672 137,76,36,16,139,141,233,252,246,129,233,235,15,132,244,37,139,76,36,16,252,
673 201,15,132,244,252,252,246,129,233,235,15,132,244,37,248,6,137,68,36,16,199, 673 233,244,2,248,5,139,137,233,133,201,15,133,244,1,255,139,141,233,133,201,
674 68,36,20,237,137,108,36,12,141,68,36,16,137,108,36,4,139,108,36,48,137,68, 674 15,132,244,252,252,246,129,233,235,15,132,244,37,248,6,137,68,36,16,199,68,
675 36,8,137,44,36,137,149,233,137,116,36,24,232,251,1,32,139,149,233,139,108, 675 36,20,237,137,108,36,12,141,68,36,16,137,108,36,4,139,108,36,48,137,68,36,
676 36,12,137,193,252,233,244,2,248,7,128,165,233,235,139,131,233,137,171,233, 676 8,137,44,36,137,149,233,137,116,36,24,232,251,1,32,139,149,233,139,108,36,
677 137,133,233,252,233,244,3,255,15,182,252,236,15,182,192,129,124,253,252,234, 677 12,137,193,252,233,244,2,248,7,128,165,233,235,139,131,233,137,171,233,137,
678 4,239,15,133,244,38,139,44,252,234,59,133,233,15,131,244,38,193,224,3,3,133, 678 133,233,252,233,244,3,255,15,182,252,236,15,182,192,129,124,253,252,234,4,
679 239,15,133,244,38,139,44,252,234,59,133,233,15,131,244,38,193,224,3,3,133,
679 233,129,120,253,4,239,15,132,244,249,248,1,252,246,133,233,235,15,133,244, 680 233,129,120,253,4,239,15,132,244,249,248,1,252,246,133,233,235,15,133,244,
680 253,248,2,139,108,202,4,139,12,202,137,104,4,137,8,139,6,15,182,204,15,182, 681 253,248,2,139,108,202,4,139,12,202,137,104,4,137,8,139,6,15,182,204,15,182,
681 232,131,198,4,193,232,16,252,255,36,171,248,3,131,189,233,0,15,132,244,1, 682 232,131,198,4,193,232,16,252,255,36,171,248,3,131,189,233,0,15,132,244,1,
@@ -1571,8 +1572,16 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1571 dasm_put(Dst, 10731); 1572 dasm_put(Dst, 10731);
1572#if LJ_HASFFI 1573#if LJ_HASFFI
1573#define DtE(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V) 1574#define DtE(_V) (int)(ptrdiff_t)&(((CCallState *)0)_V)
1574 dasm_put(Dst, 10787, DtE(->spadj), DtE(->nsp), offsetof(CCallState, stack), DtE(->gpr[0]), DtE(->gpr[1]), DtE(->func), DtE(->gpr[0]), DtE(->gpr[1]), DtE(->resx87), DtE(->fpr[0].d[0])); 1575 dasm_put(Dst, 10787, DtE(->spadj));
1575 dasm_put(Dst, 10860, DtE(->fpr[0].f[0])); 1576#if LJ_TARGET_WINDOWS
1577 dasm_put(Dst, 10797, DtE(->spadj));
1578#endif
1579 dasm_put(Dst, 10801, DtE(->nsp), offsetof(CCallState, stack), DtE(->gpr[0]), DtE(->gpr[1]), DtE(->func), DtE(->gpr[0]), DtE(->gpr[1]), DtE(->resx87), DtE(->fpr[0].d[0]));
1580 dasm_put(Dst, 10871, DtE(->fpr[0].f[0]));
1581#if LJ_TARGET_WINDOWS
1582 dasm_put(Dst, 10877, DtE(->spadj));
1583#endif
1584 dasm_put(Dst, 10881);
1576#endif 1585#endif
1577} 1586}
1578 1587
@@ -1580,7 +1589,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
1580static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse) 1589static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1581{ 1590{
1582 int vk = 0; 1591 int vk = 0;
1583 dasm_put(Dst, 10878, defop); 1592 dasm_put(Dst, 10888, defop);
1584 1593
1585 switch (op) { 1594 switch (op) {
1586 1595
@@ -1589,20 +1598,20 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1589 /* Remember: all ops branch for a true comparison, fall through otherwise. */ 1598 /* Remember: all ops branch for a true comparison, fall through otherwise. */
1590 1599
1591 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT: 1600 case BC_ISLT: case BC_ISGE: case BC_ISLE: case BC_ISGT:
1592 dasm_put(Dst, 10880, LJ_TISNUM, LJ_TISNUM); 1601 dasm_put(Dst, 10890, LJ_TISNUM, LJ_TISNUM);
1593 if (sse) { 1602 if (sse) {
1594 dasm_put(Dst, 10901); 1603 dasm_put(Dst, 10911);
1595 } else { 1604 } else {
1596 dasm_put(Dst, 10916);
1597 if (cmov) {
1598 dasm_put(Dst, 10926); 1605 dasm_put(Dst, 10926);
1606 if (cmov) {
1607 dasm_put(Dst, 10936);
1599 } else { 1608 } else {
1600 dasm_put(Dst, 10932); 1609 dasm_put(Dst, 10942);
1601 } 1610 }
1602 } 1611 }
1603 switch (op) { 1612 switch (op) {
1604 case BC_ISLT: 1613 case BC_ISLT:
1605 dasm_put(Dst, 10939); 1614 dasm_put(Dst, 10949);
1606 break; 1615 break;
1607 case BC_ISGE: 1616 case BC_ISGE:
1608 dasm_put(Dst, 10081); 1617 dasm_put(Dst, 10081);
@@ -1611,615 +1620,615 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
1611 dasm_put(Dst, 6207); 1620 dasm_put(Dst, 6207);
1612 break; 1621 break;
1613 case BC_ISGT: 1622 case BC_ISGT:
1614 dasm_put(Dst, 10944); 1623 dasm_put(Dst, 10954);
1615 break; 1624 break;
1616 default: break; /* Shut up GCC. */ 1625 default: break; /* Shut up GCC. */
1617 } 1626 }
1618 dasm_put(Dst, 10949, -BCBIAS_J*4); 1627 dasm_put(Dst, 10959, -BCBIAS_J*4);
1619 break; 1628 break;
1620 1629
1621 case BC_ISEQV: case BC_ISNEV: 1630 case BC_ISEQV: case BC_ISNEV:
1622 vk = op == BC_ISEQV; 1631 vk = op == BC_ISEQV;
1623 dasm_put(Dst, 10982, LJ_TISNUM, LJ_TISNUM); 1632 dasm_put(Dst, 10992, LJ_TISNUM, LJ_TISNUM);
1624 if (sse) { 1633 if (sse) {
1625 dasm_put(Dst, 11008); 1634 dasm_put(Dst, 11018);
1626 } else { 1635 } else {
1627 dasm_put(Dst, 11020); 1636 dasm_put(Dst, 11030);
1628 if (cmov) { 1637 if (cmov) {
1629 dasm_put(Dst, 10926); 1638 dasm_put(Dst, 10936);
1630 } else { 1639 } else {
1631 dasm_put(Dst, 10932); 1640 dasm_put(Dst, 10942);
1632 } 1641 }
1633 } 1642 }
1634 iseqne_fp: 1643 iseqne_fp:
1635 if (vk) { 1644 if (vk) {
1636 dasm_put(Dst, 11027); 1645 dasm_put(Dst, 11037);
1637 } else { 1646 } else {
1638 dasm_put(Dst, 11036); 1647 dasm_put(Dst, 11046);
1639 } 1648 }
1640 iseqne_end: 1649 iseqne_end:
1641 if (vk) { 1650 if (vk) {
1642 dasm_put(Dst, 11045, -BCBIAS_J*4); 1651 dasm_put(Dst, 11055, -BCBIAS_J*4);
1643 } else { 1652 } else {
1644 dasm_put(Dst, 11060, -BCBIAS_J*4); 1653 dasm_put(Dst, 11070, -BCBIAS_J*4);
1645 } 1654 }
1646 dasm_put(Dst, 10963); 1655 dasm_put(Dst, 10973);
1647 if (op == BC_ISEQV || op == BC_ISNEV) { 1656 if (op == BC_ISEQV || op == BC_ISNEV) {
1648 dasm_put(Dst, 11075, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq); 1657 dasm_put(Dst, 11085, LJ_TISPRI, LJ_TISTABUD, Dt6(->metatable), Dt6(->nomm), 1<<MM_eq);
1649 if (vk) { 1658 if (vk) {
1650 dasm_put(Dst, 11133); 1659 dasm_put(Dst, 11143);
1651 } else { 1660 } else {
1652 dasm_put(Dst, 11137); 1661 dasm_put(Dst, 11147);
1653 } 1662 }
1654 dasm_put(Dst, 11143); 1663 dasm_put(Dst, 11153);
1655 } 1664 }
1656 break; 1665 break;
1657 case BC_ISEQS: case BC_ISNES: 1666 case BC_ISEQS: case BC_ISNES:
1658 vk = op == BC_ISEQS; 1667 vk = op == BC_ISEQS;
1659 dasm_put(Dst, 11148, LJ_TSTR); 1668 dasm_put(Dst, 11158, LJ_TSTR);
1660 iseqne_test: 1669 iseqne_test:
1661 if (vk) { 1670 if (vk) {
1662 dasm_put(Dst, 11031); 1671 dasm_put(Dst, 11041);
1663 } else { 1672 } else {
1664 dasm_put(Dst, 2829); 1673 dasm_put(Dst, 2829);
1665 } 1674 }
1666 goto iseqne_end; 1675 goto iseqne_end;
1667 case BC_ISEQN: case BC_ISNEN: 1676 case BC_ISEQN: case BC_ISNEN:
1668 vk = op == BC_ISEQN; 1677 vk = op == BC_ISEQN;
1669 dasm_put(Dst, 11171, LJ_TISNUM); 1678 dasm_put(Dst, 11181, LJ_TISNUM);
1670 if (sse) { 1679 if (sse) {
1671 dasm_put(Dst, 11185); 1680 dasm_put(Dst, 11195);
1672 } else { 1681 } else {
1673 dasm_put(Dst, 11197); 1682 dasm_put(Dst, 11207);
1674 if (cmov) { 1683 if (cmov) {
1675 dasm_put(Dst, 10926); 1684 dasm_put(Dst, 10936);
1676 } else { 1685 } else {
1677 dasm_put(Dst, 10932); 1686 dasm_put(Dst, 10942);
1678 } 1687 }
1679 } 1688 }
1680 goto iseqne_fp; 1689 goto iseqne_fp;
1681 case BC_ISEQP: case BC_ISNEP: 1690 case BC_ISEQP: case BC_ISNEP:
1682 vk = op == BC_ISEQP; 1691 vk = op == BC_ISEQP;
1683 dasm_put(Dst, 11204); 1692 dasm_put(Dst, 11214);
1684 goto iseqne_test; 1693 goto iseqne_test;
1685 1694
1686 /* -- Unary test and copy ops ------------------------------------------- */ 1695 /* -- Unary test and copy ops ------------------------------------------- */
1687 1696
1688 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF: 1697 case BC_ISTC: case BC_ISFC: case BC_IST: case BC_ISF:
1689 dasm_put(Dst, 11215, LJ_TISTRUECOND); 1698 dasm_put(Dst, 11225, LJ_TISTRUECOND);
1690 if (op == BC_IST || op == BC_ISTC) { 1699 if (op == BC_IST || op == BC_ISTC) {
1691 dasm_put(Dst, 11227); 1700 dasm_put(Dst, 11237);
1692 } else { 1701 } else {
1693 dasm_put(Dst, 11232); 1702 dasm_put(Dst, 11242);
1694 } 1703 }
1695 if (op == BC_ISTC || op == BC_ISFC) { 1704 if (op == BC_ISTC || op == BC_ISFC) {
1696 dasm_put(Dst, 11237); 1705 dasm_put(Dst, 11247);
1697 } 1706 }
1698 dasm_put(Dst, 11248, -BCBIAS_J*4); 1707 dasm_put(Dst, 11258, -BCBIAS_J*4);
1699 break; 1708 break;
1700 1709
1701 /* -- Unary ops --------------------------------------------------------- */ 1710 /* -- Unary ops --------------------------------------------------------- */
1702 1711
1703 case BC_MOV: 1712 case BC_MOV:
1704 dasm_put(Dst, 11279); 1713 dasm_put(Dst, 11289);
1705 break; 1714 break;
1706 case BC_NOT: 1715 case BC_NOT:
1707 dasm_put(Dst, 11312, LJ_TISTRUECOND, LJ_TTRUE); 1716 dasm_put(Dst, 11322, LJ_TISTRUECOND, LJ_TTRUE);
1708 break; 1717 break;
1709 case BC_UNM: 1718 case BC_UNM:
1710 dasm_put(Dst, 11347, LJ_TISNUM); 1719 dasm_put(Dst, 11357, LJ_TISNUM);
1711 if (sse) { 1720 if (sse) {
1712 dasm_put(Dst, 11358); 1721 dasm_put(Dst, 11368);
1713 } else { 1722 } else {
1714 dasm_put(Dst, 11388); 1723 dasm_put(Dst, 11398);
1715 } 1724 }
1716 dasm_put(Dst, 10963); 1725 dasm_put(Dst, 10973);
1717 break; 1726 break;
1718 case BC_LEN: 1727 case BC_LEN:
1719 dasm_put(Dst, 11397, LJ_TSTR); 1728 dasm_put(Dst, 11407, LJ_TSTR);
1720 if (sse) { 1729 if (sse) {
1721 dasm_put(Dst, 11411, Dt5(->len)); 1730 dasm_put(Dst, 11421, Dt5(->len));
1722 } else { 1731 } else {
1723 dasm_put(Dst, 11429, Dt5(->len)); 1732 dasm_put(Dst, 11439, Dt5(->len));
1724 } 1733 }
1725 dasm_put(Dst, 11438, LJ_TTAB); 1734 dasm_put(Dst, 11448, LJ_TTAB);
1726 if (sse) { 1735 if (sse) {
1727 dasm_put(Dst, 11478); 1736 dasm_put(Dst, 11488);
1728 } else { 1737 } else {
1729 dasm_put(Dst, 11487); 1738 dasm_put(Dst, 11497);
1730 } 1739 }
1731 dasm_put(Dst, 11497); 1740 dasm_put(Dst, 11507);
1732 break; 1741 break;
1733 1742
1734 /* -- Binary ops -------------------------------------------------------- */ 1743 /* -- Binary ops -------------------------------------------------------- */
1735 1744
1736 1745
1737 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV: 1746 case BC_ADDVN: case BC_ADDNV: case BC_ADDVV:
1738 dasm_put(Dst, 11507); 1747 dasm_put(Dst, 11517);
1739 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN); 1748 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1740 switch (vk) { 1749 switch (vk) {
1741 case 0: 1750 case 0:
1742 dasm_put(Dst, 11515, LJ_TISNUM); 1751 dasm_put(Dst, 11525, LJ_TISNUM);
1743 if (sse) { 1752 if (sse) {
1744 dasm_put(Dst, 11527); 1753 dasm_put(Dst, 11537);
1745 } else { 1754 } else {
1746 dasm_put(Dst, 11541); 1755 dasm_put(Dst, 11551);
1747 } 1756 }
1748 break; 1757 break;
1749 case 1: 1758 case 1:
1750 dasm_put(Dst, 11549, LJ_TISNUM); 1759 dasm_put(Dst, 11559, LJ_TISNUM);
1751 if (sse) { 1760 if (sse) {
1752 dasm_put(Dst, 11561); 1761 dasm_put(Dst, 11571);
1753 } else { 1762 } else {
1754 dasm_put(Dst, 11575); 1763 dasm_put(Dst, 11585);
1755 } 1764 }
1756 break; 1765 break;
1757 default: 1766 default:
1758 dasm_put(Dst, 11583, LJ_TISNUM, LJ_TISNUM); 1767 dasm_put(Dst, 11593, LJ_TISNUM, LJ_TISNUM);
1759 if (sse) { 1768 if (sse) {
1760 dasm_put(Dst, 11605); 1769 dasm_put(Dst, 11615);
1761 } else { 1770 } else {
1762 dasm_put(Dst, 11619); 1771 dasm_put(Dst, 11629);
1763 } 1772 }
1764 break; 1773 break;
1765 } 1774 }
1766 if (sse) { 1775 if (sse) {
1767 dasm_put(Dst, 11381); 1776 dasm_put(Dst, 11391);
1768 } else { 1777 } else {
1769 dasm_put(Dst, 11393); 1778 dasm_put(Dst, 11403);
1770 } 1779 }
1771 dasm_put(Dst, 10963); 1780 dasm_put(Dst, 10973);
1772 break; 1781 break;
1773 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV: 1782 case BC_SUBVN: case BC_SUBNV: case BC_SUBVV:
1774 dasm_put(Dst, 11507); 1783 dasm_put(Dst, 11517);
1775 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN); 1784 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1776 switch (vk) { 1785 switch (vk) {
1777 case 0: 1786 case 0:
1778 dasm_put(Dst, 11515, LJ_TISNUM); 1787 dasm_put(Dst, 11525, LJ_TISNUM);
1779 if (sse) { 1788 if (sse) {
1780 dasm_put(Dst, 11627); 1789 dasm_put(Dst, 11637);
1781 } else { 1790 } else {
1782 dasm_put(Dst, 11641); 1791 dasm_put(Dst, 11651);
1783 } 1792 }
1784 break; 1793 break;
1785 case 1: 1794 case 1:
1786 dasm_put(Dst, 11549, LJ_TISNUM); 1795 dasm_put(Dst, 11559, LJ_TISNUM);
1787 if (sse) { 1796 if (sse) {
1788 dasm_put(Dst, 11649); 1797 dasm_put(Dst, 11659);
1789 } else { 1798 } else {
1790 dasm_put(Dst, 11663); 1799 dasm_put(Dst, 11673);
1791 } 1800 }
1792 break; 1801 break;
1793 default: 1802 default:
1794 dasm_put(Dst, 11583, LJ_TISNUM, LJ_TISNUM); 1803 dasm_put(Dst, 11593, LJ_TISNUM, LJ_TISNUM);
1795 if (sse) { 1804 if (sse) {
1796 dasm_put(Dst, 11671); 1805 dasm_put(Dst, 11681);
1797 } else { 1806 } else {
1798 dasm_put(Dst, 11685); 1807 dasm_put(Dst, 11695);
1799 } 1808 }
1800 break; 1809 break;
1801 } 1810 }
1802 if (sse) { 1811 if (sse) {
1803 dasm_put(Dst, 11381); 1812 dasm_put(Dst, 11391);
1804 } else { 1813 } else {
1805 dasm_put(Dst, 11393); 1814 dasm_put(Dst, 11403);
1806 } 1815 }
1807 dasm_put(Dst, 10963); 1816 dasm_put(Dst, 10973);
1808 break; 1817 break;
1809 case BC_MULVN: case BC_MULNV: case BC_MULVV: 1818 case BC_MULVN: case BC_MULNV: case BC_MULVV:
1810 dasm_put(Dst, 11507); 1819 dasm_put(Dst, 11517);
1811 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN); 1820 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1812 switch (vk) { 1821 switch (vk) {
1813 case 0: 1822 case 0:
1814 dasm_put(Dst, 11515, LJ_TISNUM); 1823 dasm_put(Dst, 11525, LJ_TISNUM);
1815 if (sse) { 1824 if (sse) {
1816 dasm_put(Dst, 11693); 1825 dasm_put(Dst, 11703);
1817 } else { 1826 } else {
1818 dasm_put(Dst, 11707); 1827 dasm_put(Dst, 11717);
1819 } 1828 }
1820 break; 1829 break;
1821 case 1: 1830 case 1:
1822 dasm_put(Dst, 11549, LJ_TISNUM); 1831 dasm_put(Dst, 11559, LJ_TISNUM);
1823 if (sse) { 1832 if (sse) {
1824 dasm_put(Dst, 11715); 1833 dasm_put(Dst, 11725);
1825 } else { 1834 } else {
1826 dasm_put(Dst, 11729); 1835 dasm_put(Dst, 11739);
1827 } 1836 }
1828 break; 1837 break;
1829 default: 1838 default:
1830 dasm_put(Dst, 11583, LJ_TISNUM, LJ_TISNUM); 1839 dasm_put(Dst, 11593, LJ_TISNUM, LJ_TISNUM);
1831 if (sse) { 1840 if (sse) {
1832 dasm_put(Dst, 11737); 1841 dasm_put(Dst, 11747);
1833 } else { 1842 } else {
1834 dasm_put(Dst, 11751); 1843 dasm_put(Dst, 11761);
1835 } 1844 }
1836 break; 1845 break;
1837 } 1846 }
1838 if (sse) { 1847 if (sse) {
1839 dasm_put(Dst, 11381); 1848 dasm_put(Dst, 11391);
1840 } else { 1849 } else {
1841 dasm_put(Dst, 11393); 1850 dasm_put(Dst, 11403);
1842 } 1851 }
1843 dasm_put(Dst, 10963); 1852 dasm_put(Dst, 10973);
1844 break; 1853 break;
1845 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV: 1854 case BC_DIVVN: case BC_DIVNV: case BC_DIVVV:
1846 dasm_put(Dst, 11507); 1855 dasm_put(Dst, 11517);
1847 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN); 1856 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1848 switch (vk) { 1857 switch (vk) {
1849 case 0: 1858 case 0:
1850 dasm_put(Dst, 11515, LJ_TISNUM); 1859 dasm_put(Dst, 11525, LJ_TISNUM);
1851 if (sse) { 1860 if (sse) {
1852 dasm_put(Dst, 11759); 1861 dasm_put(Dst, 11769);
1853 } else { 1862 } else {
1854 dasm_put(Dst, 11773); 1863 dasm_put(Dst, 11783);
1855 } 1864 }
1856 break; 1865 break;
1857 case 1: 1866 case 1:
1858 dasm_put(Dst, 11549, LJ_TISNUM); 1867 dasm_put(Dst, 11559, LJ_TISNUM);
1859 if (sse) { 1868 if (sse) {
1860 dasm_put(Dst, 11781); 1869 dasm_put(Dst, 11791);
1861 } else { 1870 } else {
1862 dasm_put(Dst, 11795); 1871 dasm_put(Dst, 11805);
1863 } 1872 }
1864 break; 1873 break;
1865 default: 1874 default:
1866 dasm_put(Dst, 11583, LJ_TISNUM, LJ_TISNUM); 1875 dasm_put(Dst, 11593, LJ_TISNUM, LJ_TISNUM);
1867 if (sse) { 1876 if (sse) {
1868 dasm_put(Dst, 11803); 1877 dasm_put(Dst, 11813);
1869 } else { 1878 } else {
1870 dasm_put(Dst, 11817); 1879 dasm_put(Dst, 11827);
1871 } 1880 }
1872 break; 1881 break;
1873 } 1882 }
1874 if (sse) { 1883 if (sse) {
1875 dasm_put(Dst, 11381); 1884 dasm_put(Dst, 11391);
1876 } else { 1885 } else {
1877 dasm_put(Dst, 11393); 1886 dasm_put(Dst, 11403);
1878 } 1887 }
1879 dasm_put(Dst, 10963); 1888 dasm_put(Dst, 10973);
1880 break; 1889 break;
1881 case BC_MODVN: 1890 case BC_MODVN:
1882 dasm_put(Dst, 11507); 1891 dasm_put(Dst, 11517);
1883 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN); 1892 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1884 switch (vk) { 1893 switch (vk) {
1885 case 0: 1894 case 0:
1886 dasm_put(Dst, 11515, LJ_TISNUM); 1895 dasm_put(Dst, 11525, LJ_TISNUM);
1887 if (sse) { 1896 if (sse) {
1888 dasm_put(Dst, 11825); 1897 dasm_put(Dst, 11835);
1889 } else { 1898 } else {
1890 dasm_put(Dst, 11839); 1899 dasm_put(Dst, 11849);
1891 } 1900 }
1892 break; 1901 break;
1893 case 1: 1902 case 1:
1894 dasm_put(Dst, 11549, LJ_TISNUM); 1903 dasm_put(Dst, 11559, LJ_TISNUM);
1895 if (sse) { 1904 if (sse) {
1896 dasm_put(Dst, 11847); 1905 dasm_put(Dst, 11857);
1897 } else { 1906 } else {
1898 dasm_put(Dst, 11861); 1907 dasm_put(Dst, 11871);
1899 } 1908 }
1900 break; 1909 break;
1901 default: 1910 default:
1902 dasm_put(Dst, 11583, LJ_TISNUM, LJ_TISNUM); 1911 dasm_put(Dst, 11593, LJ_TISNUM, LJ_TISNUM);
1903 if (sse) { 1912 if (sse) {
1904 dasm_put(Dst, 11869); 1913 dasm_put(Dst, 11879);
1905 } else { 1914 } else {
1906 dasm_put(Dst, 11883); 1915 dasm_put(Dst, 11893);
1907 } 1916 }
1908 break; 1917 break;
1909 } 1918 }
1910 dasm_put(Dst, 11891); 1919 dasm_put(Dst, 11901);
1911 if (sse) { 1920 if (sse) {
1912 dasm_put(Dst, 11381); 1921 dasm_put(Dst, 11391);
1913 } else { 1922 } else {
1914 dasm_put(Dst, 11393); 1923 dasm_put(Dst, 11403);
1915 } 1924 }
1916 dasm_put(Dst, 10963); 1925 dasm_put(Dst, 10973);
1917 break; 1926 break;
1918 case BC_MODNV: case BC_MODVV: 1927 case BC_MODNV: case BC_MODVV:
1919 dasm_put(Dst, 11507); 1928 dasm_put(Dst, 11517);
1920 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN); 1929 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1921 switch (vk) { 1930 switch (vk) {
1922 case 0: 1931 case 0:
1923 dasm_put(Dst, 11515, LJ_TISNUM); 1932 dasm_put(Dst, 11525, LJ_TISNUM);
1924 if (sse) { 1933 if (sse) {
1925 dasm_put(Dst, 11825); 1934 dasm_put(Dst, 11835);
1926 } else { 1935 } else {
1927 dasm_put(Dst, 11839); 1936 dasm_put(Dst, 11849);
1928 } 1937 }
1929 break; 1938 break;
1930 case 1: 1939 case 1:
1931 dasm_put(Dst, 11549, LJ_TISNUM); 1940 dasm_put(Dst, 11559, LJ_TISNUM);
1932 if (sse) { 1941 if (sse) {
1933 dasm_put(Dst, 11847); 1942 dasm_put(Dst, 11857);
1934 } else { 1943 } else {
1935 dasm_put(Dst, 11861); 1944 dasm_put(Dst, 11871);
1936 } 1945 }
1937 break; 1946 break;
1938 default: 1947 default:
1939 dasm_put(Dst, 11583, LJ_TISNUM, LJ_TISNUM); 1948 dasm_put(Dst, 11593, LJ_TISNUM, LJ_TISNUM);
1940 if (sse) { 1949 if (sse) {
1941 dasm_put(Dst, 11869); 1950 dasm_put(Dst, 11879);
1942 } else { 1951 } else {
1943 dasm_put(Dst, 11883); 1952 dasm_put(Dst, 11893);
1944 } 1953 }
1945 break; 1954 break;
1946 } 1955 }
1947 dasm_put(Dst, 11897); 1956 dasm_put(Dst, 11907);
1948 break; 1957 break;
1949 case BC_POW: 1958 case BC_POW:
1950 dasm_put(Dst, 11507); 1959 dasm_put(Dst, 11517);
1951 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN); 1960 vk = ((int)op - BC_ADDVN) / (BC_ADDNV-BC_ADDVN);
1952 switch (vk) { 1961 switch (vk) {
1953 case 0: 1962 case 0:
1954 dasm_put(Dst, 11515, LJ_TISNUM); 1963 dasm_put(Dst, 11525, LJ_TISNUM);
1955 if (sse) { 1964 if (sse) {
1956 dasm_put(Dst, 11825); 1965 dasm_put(Dst, 11835);
1957 } else { 1966 } else {
1958 dasm_put(Dst, 11839); 1967 dasm_put(Dst, 11849);
1959 } 1968 }
1960 break; 1969 break;
1961 case 1: 1970 case 1:
1962 dasm_put(Dst, 11549, LJ_TISNUM); 1971 dasm_put(Dst, 11559, LJ_TISNUM);
1963 if (sse) { 1972 if (sse) {
1964 dasm_put(Dst, 11847); 1973 dasm_put(Dst, 11857);
1965 } else { 1974 } else {
1966 dasm_put(Dst, 11861); 1975 dasm_put(Dst, 11871);
1967 } 1976 }
1968 break; 1977 break;
1969 default: 1978 default:
1970 dasm_put(Dst, 11583, LJ_TISNUM, LJ_TISNUM); 1979 dasm_put(Dst, 11593, LJ_TISNUM, LJ_TISNUM);
1971 if (sse) { 1980 if (sse) {
1972 dasm_put(Dst, 11869); 1981 dasm_put(Dst, 11879);
1973 } else { 1982 } else {
1974 dasm_put(Dst, 11883); 1983 dasm_put(Dst, 11893);
1975 } 1984 }
1976 break; 1985 break;
1977 } 1986 }
1978 dasm_put(Dst, 11902); 1987 dasm_put(Dst, 11912);
1979 if (sse) { 1988 if (sse) {
1980 dasm_put(Dst, 11381); 1989 dasm_put(Dst, 11391);
1981 } else { 1990 } else {
1982 dasm_put(Dst, 11393); 1991 dasm_put(Dst, 11403);
1983 } 1992 }
1984 dasm_put(Dst, 10963); 1993 dasm_put(Dst, 10973);
1985 break; 1994 break;
1986 1995
1987 case BC_CAT: 1996 case BC_CAT:
1988 dasm_put(Dst, 11906, Dt1(->base), Dt1(->base)); 1997 dasm_put(Dst, 11916, Dt1(->base), Dt1(->base));
1989 break; 1998 break;
1990 1999
1991 /* -- Constant ops ------------------------------------------------------ */ 2000 /* -- Constant ops ------------------------------------------------------ */
1992 2001
1993 case BC_KSTR: 2002 case BC_KSTR:
1994 dasm_put(Dst, 12000, LJ_TSTR); 2003 dasm_put(Dst, 12010, LJ_TSTR);
1995 break; 2004 break;
1996 case BC_KCDATA: 2005 case BC_KCDATA:
1997#if LJ_HASFFI 2006#if LJ_HASFFI
1998 dasm_put(Dst, 12000, LJ_TCDATA); 2007 dasm_put(Dst, 12010, LJ_TCDATA);
1999#endif 2008#endif
2000 break; 2009 break;
2001 case BC_KSHORT: 2010 case BC_KSHORT:
2002 if (sse) { 2011 if (sse) {
2003 dasm_put(Dst, 12033); 2012 dasm_put(Dst, 12043);
2004 } else { 2013 } else {
2005 dasm_put(Dst, 12048); 2014 dasm_put(Dst, 12058);
2006 } 2015 }
2007 dasm_put(Dst, 10963); 2016 dasm_put(Dst, 10973);
2008 break; 2017 break;
2009 case BC_KNUM: 2018 case BC_KNUM:
2010 if (sse) { 2019 if (sse) {
2011 dasm_put(Dst, 12056); 2020 dasm_put(Dst, 12066);
2012 } else { 2021 } else {
2013 dasm_put(Dst, 12069); 2022 dasm_put(Dst, 12079);
2014 } 2023 }
2015 dasm_put(Dst, 10963); 2024 dasm_put(Dst, 10973);
2016 break; 2025 break;
2017 case BC_KPRI: 2026 case BC_KPRI:
2018 dasm_put(Dst, 12076); 2027 dasm_put(Dst, 12086);
2019 break; 2028 break;
2020 case BC_KNIL: 2029 case BC_KNIL:
2021 dasm_put(Dst, 12102, LJ_TNIL); 2030 dasm_put(Dst, 12112, LJ_TNIL);
2022 break; 2031 break;
2023 2032
2024 /* -- Upvalue and function ops ------------------------------------------ */ 2033 /* -- Upvalue and function ops ------------------------------------------ */
2025 2034
2026 case BC_UGET: 2035 case BC_UGET:
2027 dasm_put(Dst, 12148, offsetof(GCfuncL, uvptr), DtA(->v)); 2036 dasm_put(Dst, 12158, offsetof(GCfuncL, uvptr), DtA(->v));
2028 break; 2037 break;
2029 case BC_USETV: 2038 case BC_USETV:
2030#define TV2MARKOFS \ 2039#define TV2MARKOFS \
2031 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv)) 2040 ((int32_t)offsetof(GCupval, marked)-(int32_t)offsetof(GCupval, tv))
2032 dasm_put(Dst, 12192, offsetof(GCfuncL, uvptr), DtA(->closed), DtA(->v), TV2MARKOFS, LJ_GC_BLACK, LJ_TISGCV, LJ_TISNUM - LJ_TISGCV, Dt4(->gch.marked), LJ_GC_WHITES, GG_DISP2G); 2041 dasm_put(Dst, 12202, offsetof(GCfuncL, uvptr), DtA(->closed), DtA(->v), TV2MARKOFS, LJ_GC_BLACK, LJ_TISGCV, LJ_TISNUM - LJ_TISGCV, Dt4(->gch.marked), LJ_GC_WHITES, GG_DISP2G);
2033 dasm_put(Dst, 12282); 2042 dasm_put(Dst, 12292);
2034 break; 2043 break;
2035#undef TV2MARKOFS 2044#undef TV2MARKOFS
2036 case BC_USETS: 2045 case BC_USETS:
2037 dasm_put(Dst, 12294, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G); 2046 dasm_put(Dst, 12304, offsetof(GCfuncL, uvptr), DtA(->v), LJ_TSTR, DtA(->marked), LJ_GC_BLACK, Dt4(->gch.marked), LJ_GC_WHITES, DtA(->closed), GG_DISP2G);
2038 break; 2047 break;
2039 case BC_USETN: 2048 case BC_USETN:
2040 dasm_put(Dst, 12385); 2049 dasm_put(Dst, 12395);
2041 if (sse) { 2050 if (sse) {
2042 dasm_put(Dst, 12390); 2051 dasm_put(Dst, 12400);
2043 } else { 2052 } else {
2044 dasm_put(Dst, 11200); 2053 dasm_put(Dst, 11210);
2045 } 2054 }
2046 dasm_put(Dst, 12397, offsetof(GCfuncL, uvptr), DtA(->v)); 2055 dasm_put(Dst, 12407, offsetof(GCfuncL, uvptr), DtA(->v));
2047 if (sse) { 2056 if (sse) {
2048 dasm_put(Dst, 12406); 2057 dasm_put(Dst, 12416);
2049 } else { 2058 } else {
2050 dasm_put(Dst, 12412); 2059 dasm_put(Dst, 12422);
2051 } 2060 }
2052 dasm_put(Dst, 10963); 2061 dasm_put(Dst, 10973);
2053 break; 2062 break;
2054 case BC_USETP: 2063 case BC_USETP:
2055 dasm_put(Dst, 12415, offsetof(GCfuncL, uvptr), DtA(->v)); 2064 dasm_put(Dst, 12425, offsetof(GCfuncL, uvptr), DtA(->v));
2056 break; 2065 break;
2057 case BC_UCLO: 2066 case BC_UCLO:
2058 dasm_put(Dst, 12452, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base)); 2067 dasm_put(Dst, 12462, -BCBIAS_J*4, Dt1(->openupval), Dt1(->base), Dt1(->base));
2059 break; 2068 break;
2060 2069
2061 case BC_FNEW: 2070 case BC_FNEW:
2062 dasm_put(Dst, 12506, Dt1(->base), Dt1(->base), LJ_TFUNC); 2071 dasm_put(Dst, 12516, Dt1(->base), Dt1(->base), LJ_TFUNC);
2063 break; 2072 break;
2064 2073
2065 /* -- Table ops --------------------------------------------------------- */ 2074 /* -- Table ops --------------------------------------------------------- */
2066 2075
2067 case BC_TNEW: 2076 case BC_TNEW:
2068 dasm_put(Dst, 12577, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB); 2077 dasm_put(Dst, 12587, Dt1(->base), DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), LJ_TTAB);
2069 break; 2078 break;
2070 case BC_TDUP: 2079 case BC_TDUP:
2071 dasm_put(Dst, 12703, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB); 2080 dasm_put(Dst, 12713, DISPATCH_GL(gc.total), DISPATCH_GL(gc.threshold), Dt1(->base), Dt1(->base), LJ_TTAB);
2072 break; 2081 break;
2073 2082
2074 case BC_GGET: 2083 case BC_GGET:
2075 dasm_put(Dst, 12795, Dt7(->env)); 2084 dasm_put(Dst, 12805, Dt7(->env));
2076 break; 2085 break;
2077 case BC_GSET: 2086 case BC_GSET:
2078 dasm_put(Dst, 12813, Dt7(->env)); 2087 dasm_put(Dst, 12823, Dt7(->env));
2079 break; 2088 break;
2080 2089
2081 case BC_TGETV: 2090 case BC_TGETV:
2082 dasm_put(Dst, 12831, LJ_TTAB, LJ_TISNUM); 2091 dasm_put(Dst, 12841, LJ_TTAB, LJ_TISNUM);
2083 if (sse) { 2092 if (sse) {
2084 dasm_put(Dst, 12864); 2093 dasm_put(Dst, 12874);
2085 } else { 2094 } else {
2086 dasm_put(Dst, 12885); 2095 dasm_put(Dst, 12895);
2087 if (cmov) { 2096 if (cmov) {
2088 dasm_put(Dst, 10926); 2097 dasm_put(Dst, 10936);
2089 } else { 2098 } else {
2090 dasm_put(Dst, 10932); 2099 dasm_put(Dst, 10942);
2091 } 2100 }
2092 dasm_put(Dst, 2539); 2101 dasm_put(Dst, 2539);
2093 } 2102 }
2094 dasm_put(Dst, 12895, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index); 2103 dasm_put(Dst, 12905, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2095 dasm_put(Dst, 12983, LJ_TNIL, LJ_TSTR); 2104 dasm_put(Dst, 12993, LJ_TNIL, LJ_TSTR);
2096 break; 2105 break;
2097 case BC_TGETS: 2106 case BC_TGETS:
2098 dasm_put(Dst, 13012, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL); 2107 dasm_put(Dst, 13022, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2099 dasm_put(Dst, 13100, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index); 2108 dasm_put(Dst, 13110, LJ_TNIL, DtB(->next), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2100 break; 2109 break;
2101 case BC_TGETB: 2110 case BC_TGETB:
2102 dasm_put(Dst, 13170, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index); 2111 dasm_put(Dst, 13180, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_index);
2103 dasm_put(Dst, 13269, LJ_TNIL); 2112 dasm_put(Dst, 13279, LJ_TNIL);
2104 break; 2113 break;
2105 2114
2106 case BC_TSETV: 2115 case BC_TSETV:
2107 dasm_put(Dst, 13286, LJ_TTAB, LJ_TISNUM); 2116 dasm_put(Dst, 13296, LJ_TTAB, LJ_TISNUM);
2108 if (sse) { 2117 if (sse) {
2109 dasm_put(Dst, 12864); 2118 dasm_put(Dst, 12874);
2110 } else { 2119 } else {
2111 dasm_put(Dst, 12885); 2120 dasm_put(Dst, 12895);
2112 if (cmov) { 2121 if (cmov) {
2113 dasm_put(Dst, 10926); 2122 dasm_put(Dst, 10936);
2114 } else { 2123 } else {
2115 dasm_put(Dst, 10932); 2124 dasm_put(Dst, 10942);
2116 } 2125 }
2117 dasm_put(Dst, 2539); 2126 dasm_put(Dst, 2539);
2118 } 2127 }
2119 dasm_put(Dst, 13319, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable)); 2128 dasm_put(Dst, 13329, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable));
2120 dasm_put(Dst, 13402, Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); 2129 dasm_put(Dst, 13412, Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2121 break; 2130 break;
2122 case BC_TSETS: 2131 case BC_TSETS:
2123 dasm_put(Dst, 13464, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL); 2132 dasm_put(Dst, 13474, LJ_TTAB, Dt6(->hmask), Dt5(->hash), sizeof(Node), Dt6(->nomm), Dt6(->node), DtB(->key.it), LJ_TSTR, DtB(->key.gcr), LJ_TNIL);
2124 dasm_put(Dst, 13539, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next)); 2133 dasm_put(Dst, 13549, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable), Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, DtB(->next));
2125 dasm_put(Dst, 13631, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt1(->base), Dt1(->base), Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); 2134 dasm_put(Dst, 13641, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, LJ_TSTR, Dt1(->base), Dt1(->base), Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2126 break; 2135 break;
2127 case BC_TSETB: 2136 case BC_TSETB:
2128 dasm_put(Dst, 13727, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable)); 2137 dasm_put(Dst, 13737, LJ_TTAB, Dt6(->asize), Dt6(->array), LJ_TNIL, Dt6(->marked), LJ_GC_BLACK, Dt6(->metatable));
2129 dasm_put(Dst, 13825, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); 2138 dasm_put(Dst, 13835, Dt6(->metatable), Dt6(->nomm), 1<<MM_newindex, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2130 break; 2139 break;
2131 2140
2132 case BC_TSETM: 2141 case BC_TSETM:
2133 dasm_put(Dst, 13871, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base)); 2142 dasm_put(Dst, 13881, Dt6(->marked), LJ_GC_BLACK, Dt6(->asize), Dt6(->array), Dt1(->base), Dt1(->base));
2134 dasm_put(Dst, 14020, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist)); 2143 dasm_put(Dst, 14030, Dt6(->marked), cast_byte(~LJ_GC_BLACK), DISPATCH_GL(gc.grayagain), DISPATCH_GL(gc.grayagain), Dt6(->gclist));
2135 break; 2144 break;
2136 2145
2137 /* -- Calls and vararg handling ----------------------------------------- */ 2146 /* -- Calls and vararg handling ----------------------------------------- */
2138 2147
2139 case BC_CALL: case BC_CALLM: 2148 case BC_CALL: case BC_CALLM:
2140 dasm_put(Dst, 11511); 2149 dasm_put(Dst, 11521);
2141 if (op == BC_CALLM) { 2150 if (op == BC_CALLM) {
2142 dasm_put(Dst, 14038); 2151 dasm_put(Dst, 14048);
2143 } 2152 }
2144 dasm_put(Dst, 14043, LJ_TFUNC, Dt7(->pc)); 2153 dasm_put(Dst, 14053, LJ_TFUNC, Dt7(->pc));
2145 break; 2154 break;
2146 2155
2147 case BC_CALLMT: 2156 case BC_CALLMT:
2148 dasm_put(Dst, 14038); 2157 dasm_put(Dst, 14048);
2149 break; 2158 break;
2150 case BC_CALLT: 2159 case BC_CALLT:
2151 dasm_put(Dst, 14084, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc)); 2160 dasm_put(Dst, 14094, LJ_TFUNC, FRAME_TYPE, Dt7(->ffid), Dt7(->pc));
2152 dasm_put(Dst, 14202, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG); 2161 dasm_put(Dst, 14212, FRAME_TYPE, Dt7(->pc), PC2PROTO(k), FRAME_VARG, FRAME_TYPEP, FRAME_VARG);
2153 break; 2162 break;
2154 2163
2155 case BC_ITERC: 2164 case BC_ITERC:
2156 dasm_put(Dst, 14272, LJ_TFUNC, 2+1, Dt7(->pc)); 2165 dasm_put(Dst, 14282, LJ_TFUNC, 2+1, Dt7(->pc));
2157 break; 2166 break;
2158 2167
2159 case BC_ITERN: 2168 case BC_ITERN:
2160#if LJ_HASJIT 2169#if LJ_HASJIT
2161#endif 2170#endif
2162 dasm_put(Dst, 14352, Dt6(->asize), Dt6(->array), LJ_TNIL); 2171 dasm_put(Dst, 14362, Dt6(->asize), Dt6(->array), LJ_TNIL);
2163 if (sse) { 2172 if (sse) {
2164 dasm_put(Dst, 14398); 2173 dasm_put(Dst, 14408);
2165 } else { 2174 } else {
2166 dasm_put(Dst, 14404); 2175 dasm_put(Dst, 14414);
2167 } 2176 }
2168 dasm_put(Dst, 14410); 2177 dasm_put(Dst, 14420);
2169 if (sse) { 2178 if (sse) {
2170 dasm_put(Dst, 11381); 2179 dasm_put(Dst, 11391);
2171 } else { 2180 } else {
2172 dasm_put(Dst, 11393); 2181 dasm_put(Dst, 11403);
2173 } 2182 }
2174 dasm_put(Dst, 14429, -BCBIAS_J*4); 2183 dasm_put(Dst, 14439, -BCBIAS_J*4);
2175 if (!sse) { 2184 if (!sse) {
2176 dasm_put(Dst, 14480); 2185 dasm_put(Dst, 14490);
2177 } 2186 }
2178 dasm_put(Dst, 14486, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key.gcr), DtB(->key.it), DtB(->val.gcr), DtB(->val.it)); 2187 dasm_put(Dst, 14496, Dt6(->hmask), sizeof(Node), Dt6(->node), DtB(->val.it), LJ_TNIL, DtB(->key.gcr), DtB(->key.it), DtB(->val.gcr), DtB(->val.it));
2179 dasm_put(Dst, 14561); 2188 dasm_put(Dst, 14571);
2180 break; 2189 break;
2181 2190
2182 case BC_ISNEXT: 2191 case BC_ISNEXT:
2183 dasm_put(Dst, 14569, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC); 2192 dasm_put(Dst, 14579, LJ_TFUNC, LJ_TTAB, LJ_TNIL, Dt8(->ffid), FF_next_N, -BCBIAS_J*4, BC_JMP, -BCBIAS_J*4, BC_ITERC);
2184 break; 2193 break;
2185 2194
2186 case BC_VARG: 2195 case BC_VARG:
2187 dasm_put(Dst, 14668, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack)); 2196 dasm_put(Dst, 14678, (8+FRAME_VARG), LJ_TNIL, Dt1(->maxstack));
2188 dasm_put(Dst, 14832, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top)); 2197 dasm_put(Dst, 14842, Dt1(->base), Dt1(->top), Dt1(->base), Dt1(->top));
2189 break; 2198 break;
2190 2199
2191 /* -- Returns ----------------------------------------------------------- */ 2200 /* -- Returns ----------------------------------------------------------- */
2192 2201
2193 case BC_RETM: 2202 case BC_RETM:
2194 dasm_put(Dst, 14038); 2203 dasm_put(Dst, 14048);
2195 break; 2204 break;
2196 2205
2197 case BC_RET: case BC_RET0: case BC_RET1: 2206 case BC_RET: case BC_RET0: case BC_RET1:
2198 if (op != BC_RET0) { 2207 if (op != BC_RET0) {
2199 dasm_put(Dst, 14903); 2208 dasm_put(Dst, 14913);
2200 } 2209 }
2201 dasm_put(Dst, 14907, FRAME_TYPE); 2210 dasm_put(Dst, 14917, FRAME_TYPE);
2202 switch (op) { 2211 switch (op) {
2203 case BC_RET: 2212 case BC_RET:
2204 dasm_put(Dst, 14926); 2213 dasm_put(Dst, 14936);
2205 break; 2214 break;
2206 case BC_RET1: 2215 case BC_RET1:
2207 dasm_put(Dst, 14984); 2216 dasm_put(Dst, 14994);
2208 /* fallthrough */ 2217 /* fallthrough */
2209 case BC_RET0: 2218 case BC_RET0:
2210 dasm_put(Dst, 15000); 2219 dasm_put(Dst, 15010);
2211 default: 2220 default:
2212 break; 2221 break;
2213 } 2222 }
2214 dasm_put(Dst, 15011, Dt7(->pc), PC2PROTO(k)); 2223 dasm_put(Dst, 15021, Dt7(->pc), PC2PROTO(k));
2215 if (op == BC_RET) { 2224 if (op == BC_RET) {
2216 dasm_put(Dst, 15053, LJ_TNIL); 2225 dasm_put(Dst, 15063, LJ_TNIL);
2217 } else { 2226 } else {
2218 dasm_put(Dst, 15062, LJ_TNIL); 2227 dasm_put(Dst, 15072, LJ_TNIL);
2219 } 2228 }
2220 dasm_put(Dst, 15069, -FRAME_VARG, FRAME_TYPEP); 2229 dasm_put(Dst, 15079, -FRAME_VARG, FRAME_TYPEP);
2221 if (op != BC_RET0) { 2230 if (op != BC_RET0) {
2222 dasm_put(Dst, 15093); 2231 dasm_put(Dst, 15103);
2223 } 2232 }
2224 dasm_put(Dst, 4704); 2233 dasm_put(Dst, 4704);
2225 break; 2234 break;
@@ -2229,7 +2238,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
2229 2238
2230 case BC_FORL: 2239 case BC_FORL:
2231#if LJ_HASJIT 2240#if LJ_HASJIT
2232 dasm_put(Dst, 15097, HOTCOUNT_PCMASK, GG_DISP2HOT); 2241 dasm_put(Dst, 15107, HOTCOUNT_PCMASK, GG_DISP2HOT);
2233#endif 2242#endif
2234 break; 2243 break;
2235 2244
@@ -2241,57 +2250,57 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
2241 case BC_FORI: 2250 case BC_FORI:
2242 case BC_IFORL: 2251 case BC_IFORL:
2243 vk = (op == BC_IFORL || op == BC_JFORL); 2252 vk = (op == BC_IFORL || op == BC_JFORL);
2244 dasm_put(Dst, 15118); 2253 dasm_put(Dst, 15128);
2245 if (!vk) { 2254 if (!vk) {
2246 dasm_put(Dst, 15122, LJ_TISNUM, LJ_TISNUM); 2255 dasm_put(Dst, 15132, LJ_TISNUM, LJ_TISNUM);
2247 } 2256 }
2248 dasm_put(Dst, 15141); 2257 dasm_put(Dst, 15151);
2249 if (!vk) { 2258 if (!vk) {
2250 dasm_put(Dst, 15145, LJ_TISNUM); 2259 dasm_put(Dst, 15155, LJ_TISNUM);
2251 } 2260 }
2252 if (sse) { 2261 if (sse) {
2253 dasm_put(Dst, 15154); 2262 dasm_put(Dst, 15164);
2254 if (vk) { 2263 if (vk) {
2255 dasm_put(Dst, 15166); 2264 dasm_put(Dst, 15176);
2256 } else { 2265 } else {
2257 dasm_put(Dst, 15185); 2266 dasm_put(Dst, 15195);
2258 } 2267 }
2259 dasm_put(Dst, 15190); 2268 dasm_put(Dst, 15200);
2260 } else { 2269 } else {
2261 dasm_put(Dst, 15203); 2270 dasm_put(Dst, 15213);
2262 if (vk) { 2271 if (vk) {
2263 dasm_put(Dst, 15209); 2272 dasm_put(Dst, 15219);
2264 } else { 2273 } else {
2265 dasm_put(Dst, 15225); 2274 dasm_put(Dst, 15235);
2266 } 2275 }
2267 dasm_put(Dst, 15233); 2276 dasm_put(Dst, 15243);
2268 if (cmov) { 2277 if (cmov) {
2269 dasm_put(Dst, 10926); 2278 dasm_put(Dst, 10936);
2270 } else { 2279 } else {
2271 dasm_put(Dst, 10932); 2280 dasm_put(Dst, 10942);
2272 } 2281 }
2273 if (!cmov) { 2282 if (!cmov) {
2274 dasm_put(Dst, 15238); 2283 dasm_put(Dst, 15248);
2275 } 2284 }
2276 } 2285 }
2277 if (op == BC_FORI) { 2286 if (op == BC_FORI) {
2278 dasm_put(Dst, 15244, -BCBIAS_J*4); 2287 dasm_put(Dst, 15254, -BCBIAS_J*4);
2279 } else if (op == BC_JFORI) { 2288 } else if (op == BC_JFORI) {
2280 dasm_put(Dst, 15254, -BCBIAS_J*4, BC_JLOOP); 2289 dasm_put(Dst, 15264, -BCBIAS_J*4, BC_JLOOP);
2281 } else if (op == BC_IFORL) { 2290 } else if (op == BC_IFORL) {
2282 dasm_put(Dst, 15268, -BCBIAS_J*4); 2291 dasm_put(Dst, 15278, -BCBIAS_J*4);
2283 } else { 2292 } else {
2284 dasm_put(Dst, 15264, BC_JLOOP); 2293 dasm_put(Dst, 15274, BC_JLOOP);
2285 } 2294 }
2286 dasm_put(Dst, 10961); 2295 dasm_put(Dst, 10971);
2287 if (sse) { 2296 if (sse) {
2288 dasm_put(Dst, 15278); 2297 dasm_put(Dst, 15288);
2289 } 2298 }
2290 break; 2299 break;
2291 2300
2292 case BC_ITERL: 2301 case BC_ITERL:
2293#if LJ_HASJIT 2302#if LJ_HASJIT
2294 dasm_put(Dst, 15097, HOTCOUNT_PCMASK, GG_DISP2HOT); 2303 dasm_put(Dst, 15107, HOTCOUNT_PCMASK, GG_DISP2HOT);
2295#endif 2304#endif
2296 break; 2305 break;
2297 2306
@@ -2300,33 +2309,33 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
2300 break; 2309 break;
2301#endif 2310#endif
2302 case BC_IITERL: 2311 case BC_IITERL:
2303 dasm_put(Dst, 15289, LJ_TNIL); 2312 dasm_put(Dst, 15299, LJ_TNIL);
2304 if (op == BC_JITERL) { 2313 if (op == BC_JITERL) {
2305 dasm_put(Dst, 15304, BC_JLOOP); 2314 dasm_put(Dst, 15314, BC_JLOOP);
2306 } else { 2315 } else {
2307 dasm_put(Dst, 15318, -BCBIAS_J*4); 2316 dasm_put(Dst, 15328, -BCBIAS_J*4);
2308 } 2317 }
2309 dasm_put(Dst, 11258); 2318 dasm_put(Dst, 11268);
2310 break; 2319 break;
2311 2320
2312 case BC_LOOP: 2321 case BC_LOOP:
2313#if LJ_HASJIT 2322#if LJ_HASJIT
2314 dasm_put(Dst, 15097, HOTCOUNT_PCMASK, GG_DISP2HOT); 2323 dasm_put(Dst, 15107, HOTCOUNT_PCMASK, GG_DISP2HOT);
2315#endif 2324#endif
2316 break; 2325 break;
2317 2326
2318 case BC_ILOOP: 2327 case BC_ILOOP:
2319 dasm_put(Dst, 10963); 2328 dasm_put(Dst, 10973);
2320 break; 2329 break;
2321 2330
2322 case BC_JLOOP: 2331 case BC_JLOOP:
2323#if LJ_HASJIT 2332#if LJ_HASJIT
2324 dasm_put(Dst, 15334, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L)); 2333 dasm_put(Dst, 15344, DISPATCH_J(trace), DtD(->mcode), DISPATCH_GL(jit_base), DISPATCH_GL(jit_L));
2325#endif 2334#endif
2326 break; 2335 break;
2327 2336
2328 case BC_JMP: 2337 case BC_JMP:
2329 dasm_put(Dst, 15357, -BCBIAS_J*4); 2338 dasm_put(Dst, 15367, -BCBIAS_J*4);
2330 break; 2339 break;
2331 2340
2332 /* -- Function headers -------------------------------------------------- */ 2341 /* -- Function headers -------------------------------------------------- */
@@ -2340,7 +2349,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
2340 2349
2341 case BC_FUNCF: 2350 case BC_FUNCF:
2342#if LJ_HASJIT 2351#if LJ_HASJIT
2343 dasm_put(Dst, 15381, HOTCOUNT_PCMASK, GG_DISP2HOT); 2352 dasm_put(Dst, 15391, HOTCOUNT_PCMASK, GG_DISP2HOT);
2344#endif 2353#endif
2345 case BC_FUNCV: /* NYI: compiled vararg functions. */ 2354 case BC_FUNCV: /* NYI: compiled vararg functions. */
2346 break; 2355 break;
@@ -2350,13 +2359,13 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
2350 break; 2359 break;
2351#endif 2360#endif
2352 case BC_IFUNCF: 2361 case BC_IFUNCF:
2353 dasm_put(Dst, 15402, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams)); 2362 dasm_put(Dst, 15412, -4+PC2PROTO(k), Dt1(->maxstack), -4+PC2PROTO(numparams));
2354 if (op == BC_JFUNCF) { 2363 if (op == BC_JFUNCF) {
2355 dasm_put(Dst, 15432, BC_JLOOP); 2364 dasm_put(Dst, 15442, BC_JLOOP);
2356 } else { 2365 } else {
2357 dasm_put(Dst, 10963); 2366 dasm_put(Dst, 10973);
2358 } 2367 }
2359 dasm_put(Dst, 15441, LJ_TNIL); 2368 dasm_put(Dst, 15451, LJ_TNIL);
2360 break; 2369 break;
2361 2370
2362 case BC_JFUNCV: 2371 case BC_JFUNCV:
@@ -2367,30 +2376,30 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
2367 break; /* NYI: compiled vararg functions. */ 2376 break; /* NYI: compiled vararg functions. */
2368 2377
2369 case BC_IFUNCV: 2378 case BC_IFUNCV:
2370 dasm_put(Dst, 15463, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL); 2379 dasm_put(Dst, 15473, FRAME_VARG, Dt1(->maxstack), -4+PC2PROTO(numparams), LJ_TNIL);
2371 if (op == BC_JFUNCV) { 2380 if (op == BC_JFUNCV) {
2372 dasm_put(Dst, 15432, BC_JLOOP); 2381 dasm_put(Dst, 15442, BC_JLOOP);
2373 } else { 2382 } else {
2374 dasm_put(Dst, 15554, -4+PC2PROTO(k)); 2383 dasm_put(Dst, 15564, -4+PC2PROTO(k));
2375 } 2384 }
2376 dasm_put(Dst, 15576, LJ_TNIL); 2385 dasm_put(Dst, 15586, LJ_TNIL);
2377 break; 2386 break;
2378 2387
2379 case BC_FUNCC: 2388 case BC_FUNCC:
2380 case BC_FUNCCW: 2389 case BC_FUNCCW:
2381 dasm_put(Dst, 15598, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top)); 2390 dasm_put(Dst, 15608, Dt8(->f), Dt1(->base), 8*LUA_MINSTACK, Dt1(->maxstack), Dt1(->top));
2382 if (op == BC_FUNCC) { 2391 if (op == BC_FUNCC) {
2383 dasm_put(Dst, 15627); 2392 dasm_put(Dst, 15637);
2384 } else { 2393 } else {
2385 dasm_put(Dst, 15631); 2394 dasm_put(Dst, 15641);
2386 } 2395 }
2387 dasm_put(Dst, 15639, DISPATCH_GL(vmstate), ~LJ_VMST_C); 2396 dasm_put(Dst, 15649, DISPATCH_GL(vmstate), ~LJ_VMST_C);
2388 if (op == BC_FUNCC) { 2397 if (op == BC_FUNCC) {
2389 dasm_put(Dst, 15648); 2398 dasm_put(Dst, 15658);
2390 } else { 2399 } else {
2391 dasm_put(Dst, 15652, DISPATCH_GL(wrapf)); 2400 dasm_put(Dst, 15662, DISPATCH_GL(wrapf));
2392 } 2401 }
2393 dasm_put(Dst, 15657, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top)); 2402 dasm_put(Dst, 15667, DISPATCH_GL(vmstate), ~LJ_VMST_INTERP, Dt1(->base), Dt1(->top));
2394 break; 2403 break;
2395 2404
2396 /* ---------------------------------------------------------------------- */ 2405 /* ---------------------------------------------------------------------- */
@@ -2418,7 +2427,7 @@ static int build_backend(BuildCtx *ctx)
2418 2427
2419 build_subroutines(ctx, cmov, sse); 2428 build_subroutines(ctx, cmov, sse);
2420 2429
2421 dasm_put(Dst, 15682); 2430 dasm_put(Dst, 15692);
2422 for (op = 0; op < BC__MAX; op++) 2431 for (op = 0; op < BC__MAX; op++)
2423 build_ins(ctx, (BCOp)op, op, cmov, sse); 2432 build_ins(ctx, (BCOp)op, op, cmov, sse);
2424 2433