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

Side by Side Diff: test/cctest/test-disasm-ia32.cc

Issue 1778493004: [wasm] Int64Lowering of Int64Add on ia32 and arm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 __ nop(); 89 __ nop();
90 __ add(edi, Operand(ebp, ecx, times_4, 0)); 90 __ add(edi, Operand(ebp, ecx, times_4, 0));
91 __ add(edi, Operand(ebp, ecx, times_4, 12)); 91 __ add(edi, Operand(ebp, ecx, times_4, 12));
92 __ add(edi, Operand(ebp, ecx, times_4, -8)); 92 __ add(edi, Operand(ebp, ecx, times_4, -8));
93 __ add(edi, Operand(ebp, ecx, times_4, -3999)); 93 __ add(edi, Operand(ebp, ecx, times_4, -3999));
94 __ add(Operand(ebp, ecx, times_4, 12), Immediate(12)); 94 __ add(Operand(ebp, ecx, times_4, 12), Immediate(12));
95 95
96 __ nop(); 96 __ nop();
97 __ add(ebx, Immediate(12)); 97 __ add(ebx, Immediate(12));
98 __ nop(); 98 __ nop();
99 __ adc(edx, Operand(ebx));
99 __ adc(ecx, 12); 100 __ adc(ecx, 12);
100 __ adc(ecx, 1000); 101 __ adc(ecx, 1000);
101 __ nop(); 102 __ nop();
102 __ and_(edx, 3); 103 __ and_(edx, 3);
103 __ and_(edx, Operand(esp, 4)); 104 __ and_(edx, Operand(esp, 4));
104 __ cmp(edx, 3); 105 __ cmp(edx, 3);
105 __ cmp(edx, Operand(esp, 4)); 106 __ cmp(edx, Operand(esp, 4));
106 __ cmp(Operand(ebp, ecx, times_4, 0), Immediate(1000)); 107 __ cmp(Operand(ebp, ecx, times_4, 0), Immediate(1000));
107 Handle<FixedArray> foo2 = isolate->factory()->NewFixedArray(10, TENURED); 108 Handle<FixedArray> foo2 = isolate->factory()->NewFixedArray(10, TENURED);
108 __ cmp(ebx, foo2); 109 __ cmp(ebx, foo2);
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 #ifdef OBJECT_PRINT 685 #ifdef OBJECT_PRINT
685 OFStream os(stdout); 686 OFStream os(stdout);
686 code->Print(os); 687 code->Print(os);
687 byte* begin = code->instruction_start(); 688 byte* begin = code->instruction_start();
688 byte* end = begin + code->instruction_size(); 689 byte* end = begin + code->instruction_size();
689 disasm::Disassembler::Disassemble(stdout, begin, end); 690 disasm::Disassembler::Disassemble(stdout, begin, end);
690 #endif 691 #endif
691 } 692 }
692 693
693 #undef __ 694 #undef __
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698