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

Side by Side Diff: test/cctest/test-assembler-s390.cc

Issue 2589063002: s390: clean up RR/RRE/RRD/RIL format in Assembler (Closed)
Patch Set: remove comments Created 4 years 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/s390/constants-s390.h ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 __ ahi(r13, Operand(123)); 188 __ ahi(r13, Operand(123));
189 __ aghi(r13, Operand(123)); 189 __ aghi(r13, Operand(123));
190 __ stm(r1, r2, MemOperand(r3, r0, 123)); 190 __ stm(r1, r2, MemOperand(r3, r0, 123));
191 __ slag(r1, r2, Operand(123)); 191 __ slag(r1, r2, Operand(123));
192 __ lay(r1, MemOperand(r2, r3, -123)); 192 __ lay(r1, MemOperand(r2, r3, -123));
193 __ a(r13, MemOperand(r1, r2, 123)); 193 __ a(r13, MemOperand(r1, r2, 123));
194 __ ay(r13, MemOperand(r1, r2, 123)); 194 __ ay(r13, MemOperand(r1, r2, 123));
195 __ brc(Condition(14), Operand(123)); 195 __ brc(Condition(14), Operand(123));
196 __ brc(Condition(14), Operand(-123)); 196 __ brc(Condition(14), Operand(-123));
197 __ brcl(Condition(14), Operand(123), false); 197 __ brcl(Condition(14), Operand(123));
198 __ brcl(Condition(14), Operand(-123), false); 198 __ brcl(Condition(14), Operand(-123));
199 __ iilf(r13, Operand(123456789)); 199 __ iilf(r13, Operand(123456789));
200 __ iihf(r13, Operand(-123456789)); 200 __ iihf(r13, Operand(-123456789));
201 __ mvc(MemOperand(r0, 123), MemOperand(r4, 567), 89); 201 __ mvc(MemOperand(r0, 123), MemOperand(r4, 567), 89);
202 __ sll(r13, Operand(10)); 202 __ sll(r13, Operand(10));
203 203
204 v8::internal::byte* bufPos = assm.buffer_pos(); 204 v8::internal::byte* bufPos = assm.buffer_pos();
205 ::printf("buffer position = %p", static_cast<void*>(bufPos)); 205 ::printf("buffer position = %p", static_cast<void*>(bufPos));
206 ::fflush(stdout); 206 ::fflush(stdout);
207 // OS::DebugBreak(); 207 // OS::DebugBreak();
208 208
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 code->Print(); 407 code->Print();
408 #endif 408 #endif
409 F1 f = FUNCTION_CAST<F1>(code->entry()); 409 F1 f = FUNCTION_CAST<F1>(code->entry());
410 intptr_t res = 410 intptr_t res =
411 reinterpret_cast<intptr_t>(CALL_GENERATED_CODE(isolate, f, 0, 0, 0, 0, 0)); 411 reinterpret_cast<intptr_t>(CALL_GENERATED_CODE(isolate, f, 0, 0, 0, 0, 0));
412 ::printf("f() = %" V8PRIdPTR "\n", res); 412 ::printf("f() = %" V8PRIdPTR "\n", res);
413 } 413 }
414 #endif 414 #endif
415 415
416 #undef __ 416 #undef __
OLDNEW
« no previous file with comments | « src/s390/constants-s390.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698