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

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

Issue 233013004: Version 3.25.28.12 (merged r20544, r20645, r20664, r20553) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.25
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | test/mjsunit/regress/regress-361608.js » ('j') | 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 __ andq(rdx, Operand(rsp, 4)); 97 __ andq(rdx, Operand(rsp, 4));
98 __ cmpq(rdx, Immediate(3)); 98 __ cmpq(rdx, Immediate(3));
99 __ cmpq(rdx, Operand(rsp, 4)); 99 __ cmpq(rdx, Operand(rsp, 4));
100 __ cmpq(Operand(rbp, rcx, times_4, 0), Immediate(1000)); 100 __ cmpq(Operand(rbp, rcx, times_4, 0), Immediate(1000));
101 __ cmpb(rbx, Operand(rbp, rcx, times_2, 0)); 101 __ cmpb(rbx, Operand(rbp, rcx, times_2, 0));
102 __ cmpb(Operand(rbp, rcx, times_2, 0), rbx); 102 __ cmpb(Operand(rbp, rcx, times_2, 0), rbx);
103 __ orq(rdx, Immediate(3)); 103 __ orq(rdx, Immediate(3));
104 __ xorq(rdx, Immediate(3)); 104 __ xorq(rdx, Immediate(3));
105 __ nop(); 105 __ nop();
106 __ cpuid(); 106 __ cpuid();
107 __ movsxbl(rdx, Operand(rcx, 0));
107 __ movsxbq(rdx, Operand(rcx, 0)); 108 __ movsxbq(rdx, Operand(rcx, 0));
109 __ movsxwl(rdx, Operand(rcx, 0));
108 __ movsxwq(rdx, Operand(rcx, 0)); 110 __ movsxwq(rdx, Operand(rcx, 0));
109 __ movzxbl(rdx, Operand(rcx, 0)); 111 __ movzxbl(rdx, Operand(rcx, 0));
110 __ movzxwl(rdx, Operand(rcx, 0)); 112 __ movzxwl(rdx, Operand(rcx, 0));
111 __ movzxbq(rdx, Operand(rcx, 0)); 113 __ movzxbq(rdx, Operand(rcx, 0));
112 __ movzxwq(rdx, Operand(rcx, 0)); 114 __ movzxwq(rdx, Operand(rcx, 0));
113 115
114 __ nop(); 116 __ nop();
115 __ imulq(rdx, rcx); 117 __ imulq(rdx, rcx);
116 __ shld(rdx, rcx); 118 __ shld(rdx, rcx);
117 __ shrd(rdx, rcx); 119 __ shrd(rdx, rcx);
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 CHECK(code->IsCode()); 438 CHECK(code->IsCode());
437 #ifdef OBJECT_PRINT 439 #ifdef OBJECT_PRINT
438 Code::cast(code)->Print(); 440 Code::cast(code)->Print();
439 byte* begin = Code::cast(code)->instruction_start(); 441 byte* begin = Code::cast(code)->instruction_start();
440 byte* end = begin + Code::cast(code)->instruction_size(); 442 byte* end = begin + Code::cast(code)->instruction_size();
441 disasm::Disassembler::Disassemble(stdout, begin, end); 443 disasm::Disassembler::Disassemble(stdout, begin, end);
442 #endif 444 #endif
443 } 445 }
444 446
445 #undef __ 447 #undef __
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | test/mjsunit/regress/regress-361608.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698