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

Side by Side Diff: src/a64/macro-assembler-a64.h

Issue 130843008: A64: Add support for floating-point registers in PushSafepointRegistersScope. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/lithium-codegen-a64.h ('k') | src/a64/macro-assembler-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 Register addr, 1567 Register addr,
1568 Register scratch, 1568 Register scratch,
1569 SaveFPRegsMode save_fp, 1569 SaveFPRegsMode save_fp,
1570 RememberedSetFinalAction and_then); 1570 RememberedSetFinalAction and_then);
1571 1571
1572 // Push and pop the registers that can hold pointers, as defined by the 1572 // Push and pop the registers that can hold pointers, as defined by the
1573 // RegList constant kSafepointSavedRegisters. 1573 // RegList constant kSafepointSavedRegisters.
1574 void PushSafepointRegisters(); 1574 void PushSafepointRegisters();
1575 void PopSafepointRegisters(); 1575 void PopSafepointRegisters();
1576 1576
1577 void PushSafepointFPRegisters();
1578 void PopSafepointFPRegisters();
1579
1577 // Store value in register src in the safepoint stack slot for register dst. 1580 // Store value in register src in the safepoint stack slot for register dst.
1578 void StoreToSafepointRegisterSlot(Register src, Register dst) { 1581 void StoreToSafepointRegisterSlot(Register src, Register dst) {
1579 Poke(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); 1582 Poke(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize);
1580 } 1583 }
1581 1584
1582 // Load the value of the src register from its safepoint stack slot 1585 // Load the value of the src register from its safepoint stack slot
1583 // into register dst. 1586 // into register dst.
1584 void LoadFromSafepointRegisterSlot(Register dst, Register src) { 1587 void LoadFromSafepointRegisterSlot(Register dst, Register src) {
1585 Peek(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize); 1588 Peek(src, SafepointRegisterStackIndex(dst.code()) * kPointerSize);
1586 } 1589 }
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
2129 #error "Unsupported option" 2132 #error "Unsupported option"
2130 #define CODE_COVERAGE_STRINGIFY(x) #x 2133 #define CODE_COVERAGE_STRINGIFY(x) #x
2131 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2134 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2132 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2135 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2133 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2136 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2134 #else 2137 #else
2135 #define ACCESS_MASM(masm) masm-> 2138 #define ACCESS_MASM(masm) masm->
2136 #endif 2139 #endif
2137 2140
2138 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ 2141 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-codegen-a64.h ('k') | src/a64/macro-assembler-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698