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

Side by Side Diff: src/arm/assembler-arm.h

Issue 2024443002: Turbofan: Modify WASM linkage to store floats using only 4 bytes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments. 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
« no previous file with comments | « no previous file | src/compiler/arm/code-generator-arm.cc » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1313 } 1313 }
1314 1314
1315 void pop() { 1315 void pop() {
1316 add(sp, sp, Operand(kPointerSize)); 1316 add(sp, sp, Operand(kPointerSize));
1317 } 1317 }
1318 1318
1319 void vpush(DwVfpRegister src, Condition cond = al) { 1319 void vpush(DwVfpRegister src, Condition cond = al) {
1320 vstm(db_w, sp, src, src, cond); 1320 vstm(db_w, sp, src, src, cond);
1321 } 1321 }
1322 1322
1323 void vpush(SwVfpRegister src, Condition cond = al) {
1324 vstm(db_w, sp, src, src, cond);
1325 }
1326
1323 void vpop(DwVfpRegister dst, Condition cond = al) { 1327 void vpop(DwVfpRegister dst, Condition cond = al) {
1324 vldm(ia_w, sp, dst, dst, cond); 1328 vldm(ia_w, sp, dst, dst, cond);
1325 } 1329 }
1326 1330
1327 // Jump unconditionally to given label. 1331 // Jump unconditionally to given label.
1328 void jmp(Label* L) { b(L, al); } 1332 void jmp(Label* L) { b(L, al); }
1329 1333
1330 // Check the code size generated from label to here. 1334 // Check the code size generated from label to here.
1331 int SizeOfCodeGeneratedSince(Label* label) { 1335 int SizeOfCodeGeneratedSince(Label* label) {
1332 return pc_offset() - label->pos(); 1336 return pc_offset() - label->pos();
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1680 explicit EnsureSpace(Assembler* assembler) { 1684 explicit EnsureSpace(Assembler* assembler) {
1681 assembler->CheckBuffer(); 1685 assembler->CheckBuffer();
1682 } 1686 }
1683 }; 1687 };
1684 1688
1685 1689
1686 } // namespace internal 1690 } // namespace internal
1687 } // namespace v8 1691 } // namespace v8
1688 1692
1689 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1693 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm/code-generator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698