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

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

Issue 1806833002: X87: [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
« no previous file with comments | « src/x87/disasm-x87.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 #ifdef OBJECT_PRINT 416 #ifdef OBJECT_PRINT
416 OFStream os(stdout); 417 OFStream os(stdout);
417 code->Print(os); 418 code->Print(os);
418 byte* begin = code->instruction_start(); 419 byte* begin = code->instruction_start();
419 byte* end = begin + code->instruction_size(); 420 byte* end = begin + code->instruction_size();
420 disasm::Disassembler::Disassemble(stdout, begin, end); 421 disasm::Disassembler::Disassemble(stdout, begin, end);
421 #endif 422 #endif
422 } 423 }
423 424
424 #undef __ 425 #undef __
OLDNEW
« no previous file with comments | « src/x87/disasm-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698