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

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

Issue 150513002: A64: Todos - peek/poke and branch generator (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.cc ('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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 Push(src); 524 Push(src);
525 } 525 }
526 inline void pop(Register dst) { 526 inline void pop(Register dst) {
527 Pop(dst); 527 Pop(dst);
528 } 528 }
529 529
530 // Poke 'src' onto the stack. The offset is in bytes. 530 // Poke 'src' onto the stack. The offset is in bytes.
531 // 531 //
532 // If the current stack pointer (according to StackPointer()) is csp, then 532 // If the current stack pointer (according to StackPointer()) is csp, then
533 // csp must be aligned to 16 bytes. 533 // csp must be aligned to 16 bytes.
534 void Poke(const Register& src, const Operand& offset); 534 void Poke(const CPURegister& src, const Operand& offset);
535 535
536 // Peek at a value on the stack, and put it in 'dst'. The offset is in bytes. 536 // Peek at a value on the stack, and put it in 'dst'. The offset is in bytes.
537 // 537 //
538 // If the current stack pointer (according to StackPointer()) is csp, then 538 // If the current stack pointer (according to StackPointer()) is csp, then
539 // csp must be aligned to 16 bytes. 539 // csp must be aligned to 16 bytes.
540 void Peek(const Register& dst, const Operand& offset); 540 void Peek(const CPURegister& dst, const Operand& offset);
541 541
542 // Claim or drop stack space without actually accessing memory. 542 // Claim or drop stack space without actually accessing memory.
543 // 543 //
544 // In debug mode, both of these will write invalid data into the claimed or 544 // In debug mode, both of these will write invalid data into the claimed or
545 // dropped space. 545 // dropped space.
546 // 546 //
547 // If the current stack pointer (according to StackPointer()) is csp, then it 547 // If the current stack pointer (according to StackPointer()) is csp, then it
548 // must be aligned to 16 bytes and the size claimed or dropped must be a 548 // must be aligned to 16 bytes and the size claimed or dropped must be a
549 // multiple of 16 bytes. 549 // multiple of 16 bytes.
550 // 550 //
(...skipping 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 #error "Unsupported option" 2132 #error "Unsupported option"
2133 #define CODE_COVERAGE_STRINGIFY(x) #x 2133 #define CODE_COVERAGE_STRINGIFY(x) #x
2134 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2134 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2135 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2135 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2136 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2136 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2137 #else 2137 #else
2138 #define ACCESS_MASM(masm) masm-> 2138 #define ACCESS_MASM(masm) masm->
2139 #endif 2139 #endif
2140 2140
2141 #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.cc ('k') | src/a64/macro-assembler-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698