Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/WideRegisters.golden

Issue 2041913002: [interpreter] Remove OperandScale from front stages of pipeline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: number 6 pool type: number
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 var x152; 516 var x152;
517 var x153; 517 var x153;
518 var x154; 518 var x154;
519 var x155; 519 var x155;
520 var x156; 520 var x156;
521 if (x2 > 3) { return x129; } 521 if (x2 > 3) { return x129; }
522 return x128; 522 return x128;
523 " 523 "
524 frame size: 157 524 frame size: 157
525 parameter count: 1 525 parameter count: 1
526 bytecode array length: 19 526 bytecode array length: 17
527 bytecodes: [ 527 bytecodes: [
528 /* 30 E> */ B(StackCheck), 528 /* 30 E> */ B(StackCheck),
529 /* 1494 S> */ B(LdaSmi), U8(3), 529 /* 1494 S> */ B(LdaSmi), U8(3),
530 /* 1501 E> */ B(Wide), B(TestGreaterThan), R16(2), 530 /* 1501 E> */ B(TestGreaterThan), R(2),
531 B(JumpIfFalse), U8(7), 531 B(JumpIfFalse), U8(7),
532 /* 1508 S> */ B(Wide), B(Ldar), R16(129), 532 /* 1508 S> */ B(Wide), B(Ldar), R16(129),
533 /* 1536 S> */ B(Return), 533 /* 1536 S> */ B(Return),
534 /* 1523 S> */ B(Wide), B(Ldar), R16(128), 534 /* 1523 S> */ B(Wide), B(Ldar), R16(128),
535 /* 1536 S> */ B(Return), 535 /* 1536 S> */ B(Return),
536 ] 536 ]
537 constant pool: [ 537 constant pool: [
538 ] 538 ]
539 handlers: [ 539 handlers: [
540 ] 540 ]
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 var x154; 698 var x154;
699 var x155; 699 var x155;
700 var x156; 700 var x156;
701 var x0 = 0; 701 var x0 = 0;
702 if (x129 == 3) { var x129 = x0; } 702 if (x129 == 3) { var x129 = x0; }
703 if (x2 > 3) { return x0; } 703 if (x2 > 3) { return x0; }
704 return x129; 704 return x129;
705 " 705 "
706 frame size: 157 706 frame size: 157
707 parameter count: 1 707 parameter count: 1
708 bytecode array length: 36 708 bytecode array length: 34
709 bytecodes: [ 709 bytecodes: [
710 /* 30 E> */ B(StackCheck), 710 /* 30 E> */ B(StackCheck),
711 /* 1503 S> */ B(LdaZero), 711 /* 1503 S> */ B(LdaZero),
712 B(Star), R(0), 712 B(Star), R(0),
713 /* 1506 S> */ B(LdaSmi), U8(3), 713 /* 1506 S> */ B(LdaSmi), U8(3),
714 /* 1515 E> */ B(Wide), B(TestEqual), R16(129), 714 /* 1515 E> */ B(Wide), B(TestEqual), R16(129),
715 B(JumpIfFalse), U8(10), 715 B(JumpIfFalse), U8(10),
716 /* 1534 S> */ B(Wide), B(Mov), R16(0), R16(129), 716 /* 1534 S> */ B(Wide), B(Mov), R16(0), R16(129),
717 B(Ldar), R(0), 717 B(Ldar), R(0),
718 /* 1540 S> */ B(LdaSmi), U8(3), 718 /* 1540 S> */ B(LdaSmi), U8(3),
719 /* 1547 E> */ B(Wide), B(TestGreaterThan), R16(2), 719 /* 1547 E> */ B(TestGreaterThan), R(2),
720 B(JumpIfFalse), U8(5), 720 B(JumpIfFalse), U8(5),
721 /* 1554 S> */ B(Ldar), R(0), 721 /* 1554 S> */ B(Ldar), R(0),
722 /* 1580 S> */ B(Return), 722 /* 1580 S> */ B(Return),
723 /* 1567 S> */ B(Wide), B(Ldar), R16(129), 723 /* 1567 S> */ B(Wide), B(Ldar), R16(129),
724 /* 1580 S> */ B(Return), 724 /* 1580 S> */ B(Return),
725 ] 725 ]
726 constant pool: [ 726 constant pool: [
727 ] 727 ]
728 handlers: [ 728 handlers: [
729 ] 729 ]
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 var x153; 886 var x153;
887 var x154; 887 var x154;
888 var x155; 888 var x155;
889 var x156; 889 var x156;
890 var x0 = 0; 890 var x0 = 0;
891 var x1 = 0; 891 var x1 = 0;
892 for (x128 = 0; x128 < 64; x128++) { x1 += x128;}return x128; 892 for (x128 = 0; x128 < 64; x128++) { x1 += x128;}return x128;
893 " 893 "
894 frame size: 158 894 frame size: 158
895 parameter count: 1 895 parameter count: 1
896 bytecode array length: 58 896 bytecode array length: 56
897 bytecodes: [ 897 bytecodes: [
898 /* 30 E> */ B(StackCheck), 898 /* 30 E> */ B(StackCheck),
899 /* 1503 S> */ B(LdaZero), 899 /* 1503 S> */ B(LdaZero),
900 B(Star), R(0), 900 B(Star), R(0),
901 /* 1515 S> */ B(LdaZero), 901 /* 1515 S> */ B(LdaZero),
902 B(Star), R(1), 902 B(Star), R(1),
903 /* 1523 S> */ B(LdaZero), 903 /* 1523 S> */ B(LdaZero),
904 B(Wide), B(Star), R16(128), 904 B(Wide), B(Star), R16(128),
905 /* 1538 S> */ B(LdaSmi), U8(64), 905 /* 1538 S> */ B(LdaSmi), U8(64),
906 /* 1538 E> */ B(Wide), B(TestLessThan), R16(128), 906 /* 1538 E> */ B(Wide), B(TestLessThan), R16(128),
907 B(JumpIfFalse), U8(35), 907 B(JumpIfFalse), U8(33),
908 /* 1518 E> */ B(StackCheck), 908 /* 1518 E> */ B(StackCheck),
909 /* 1555 S> */ B(Wide), B(Ldar), R16(128), 909 /* 1555 S> */ B(Wide), B(Ldar), R16(128),
910 /* 1561 E> */ B(Wide), B(Add), R16(1), 910 /* 1561 E> */ B(Add), R(1),
911 B(Wide), B(Mov), R16(1), R16(157), 911 B(Wide), B(Mov), R16(1), R16(157),
912 B(Star), R(1), 912 B(Star), R(1),
913 /* 1548 S> */ B(Wide), B(Ldar), R16(128), 913 /* 1548 S> */ B(Wide), B(Ldar), R16(128),
914 B(ToNumber), 914 B(ToNumber),
915 B(Wide), B(Star), R16(157), 915 B(Wide), B(Star), R16(157),
916 B(Inc), 916 B(Inc),
917 B(Wide), B(Star), R16(128), 917 B(Wide), B(Star), R16(128),
918 B(Jump), U8(-39), 918 B(Jump), U8(-37),
919 /* 1567 S> */ B(Wide), B(Ldar), R16(128), 919 /* 1567 S> */ B(Wide), B(Ldar), R16(128),
920 /* 1580 S> */ B(Return), 920 /* 1580 S> */ B(Return),
921 ] 921 ]
922 constant pool: [ 922 constant pool: [
923 ] 923 ]
924 handlers: [ 924 handlers: [
925 ] 925 ]
926 926
927 --- 927 ---
928 snippet: " 928 snippet: "
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 var x153; 1082 var x153;
1083 var x154; 1083 var x154;
1084 var x155; 1084 var x155;
1085 var x156; 1085 var x156;
1086 var x0 = 1234; 1086 var x0 = 1234;
1087 var x1 = 0; 1087 var x1 = 0;
1088 for (x128 in x0) { x1 += x128;}return x1; 1088 for (x128 in x0) { x1 += x128;}return x1;
1089 " 1089 "
1090 frame size: 163 1090 frame size: 163
1091 parameter count: 1 1091 parameter count: 1
1092 bytecode array length: 84 1092 bytecode array length: 82
1093 bytecodes: [ 1093 bytecodes: [
1094 /* 30 E> */ B(StackCheck), 1094 /* 30 E> */ B(StackCheck),
1095 /* 1503 S> */ B(Wide), B(LdaSmi), U16(1234), 1095 /* 1503 S> */ B(Wide), B(LdaSmi), U16(1234),
1096 B(Star), R(0), 1096 B(Star), R(0),
1097 /* 1518 S> */ B(LdaZero), 1097 /* 1518 S> */ B(LdaZero),
1098 B(Star), R(1), 1098 B(Star), R(1),
1099 /* 1534 S> */ B(Ldar), R(0), 1099 /* 1534 S> */ B(Ldar), R(0),
1100 B(JumpIfUndefined), U8(69), 1100 B(JumpIfUndefined), U8(67),
1101 B(JumpIfNull), U8(67), 1101 B(JumpIfNull), U8(65),
1102 B(ToObject), 1102 B(ToObject),
1103 B(Wide), B(ForInPrepare), R16(158), 1103 B(Wide), B(ForInPrepare), R16(158),
1104 B(Wide), B(Star), R16(157), 1104 B(Wide), B(Star), R16(157),
1105 B(LdaZero), 1105 B(LdaZero),
1106 B(Wide), B(Star), R16(161), 1106 B(Wide), B(Star), R16(161),
1107 /* 1526 S> */ B(Wide), B(ForInDone), R16(161), R16(160), 1107 /* 1526 S> */ B(Wide), B(ForInDone), R16(161), R16(160),
1108 B(JumpIfTrue), U8(45), 1108 B(JumpIfTrue), U8(43),
1109 B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(1), 1109 B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(1),
1110 B(JumpIfUndefined), U8(23), 1110 B(JumpIfUndefined), U8(21),
1111 B(Wide), B(Star), R16(128), 1111 B(Wide), B(Star), R16(128),
1112 /* 1521 E> */ B(StackCheck), 1112 /* 1521 E> */ B(StackCheck),
1113 /* 1541 S> */ B(Wide), B(Ldar), R16(128), 1113 /* 1541 S> */ B(Wide), B(Ldar), R16(128),
1114 /* 1547 E> */ B(Wide), B(Add), R16(1), 1114 /* 1547 E> */ B(Add), R(1),
1115 B(Wide), B(Mov), R16(1), R16(162), 1115 B(Wide), B(Mov), R16(1), R16(162),
1116 B(Star), R(1), 1116 B(Star), R(1),
1117 /* 1544 E> */ B(Wide), B(ForInStep), R16(161), 1117 /* 1544 E> */ B(Wide), B(ForInStep), R16(161),
1118 B(Wide), B(Star), R16(161), 1118 B(Wide), B(Star), R16(161),
1119 B(Jump), U8(-49), 1119 B(Jump), U8(-47),
1120 /* 1553 S> */ B(Ldar), R(1), 1120 /* 1553 S> */ B(Ldar), R(1),
1121 /* 1564 S> */ B(Return), 1121 /* 1564 S> */ B(Return),
1122 ] 1122 ]
1123 constant pool: [ 1123 constant pool: [
1124 ] 1124 ]
1125 handlers: [ 1125 handlers: [
1126 ] 1126 ]
1127 1127
1128 --- 1128 ---
1129 snippet: " 1129 snippet: "
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 B(Star), R(1), 1304 B(Star), R(1),
1305 /* 1537 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), 1305 /* 1537 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0),
1306 /* 1549 S> */ B(Ldar), R(1), 1306 /* 1549 S> */ B(Ldar), R(1),
1307 /* 1560 S> */ B(Return), 1307 /* 1560 S> */ B(Return),
1308 ] 1308 ]
1309 constant pool: [ 1309 constant pool: [
1310 ] 1310 ]
1311 handlers: [ 1311 handlers: [
1312 ] 1312 ]
1313 1313
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.cc ('k') | test/unittests/interpreter/bytecode-array-writer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698