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

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

Issue 148593004: A64: Synchronize with r18084. (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 | « samples/shell.cc ('k') | src/a64/assembler-a64-inl.h » ('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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 738
739 // Given the address of the beginning of a call, return the address in the 739 // Given the address of the beginning of a call, return the address in the
740 // instruction stream that call will return from. 740 // instruction stream that call will return from.
741 inline static Address return_address_from_call_start(Address pc); 741 inline static Address return_address_from_call_start(Address pc);
742 742
743 // This sets the branch destination (which is in the constant pool on ARM). 743 // This sets the branch destination (which is in the constant pool on ARM).
744 // This is for calls and branches within generated code. 744 // This is for calls and branches within generated code.
745 inline static void deserialization_set_special_target_at( 745 inline static void deserialization_set_special_target_at(
746 Address constant_pool_entry, Address target); 746 Address constant_pool_entry, Address target);
747 747
748 // This sets the branch destination (which is in the constant pool on ARM).
749 // This is for calls and branches to runtime code.
750 inline static void set_external_target_at(Address constant_pool_entry,
751 Address target);
752
753 // All addresses in the constant pool are the same size as pointers. 748 // All addresses in the constant pool are the same size as pointers.
754 static const int kSpecialTargetSize = kPointerSize; 749 static const int kSpecialTargetSize = kPointerSize;
755 750
756 // The sizes of the call sequences emitted by MacroAssembler::Call. 751 // The sizes of the call sequences emitted by MacroAssembler::Call.
757 // Wherever possible, use MacroAssembler::CallSize instead of these constants, 752 // Wherever possible, use MacroAssembler::CallSize instead of these constants,
758 // as it will choose the correct value for a given relocation mode. 753 // as it will choose the correct value for a given relocation mode.
759 // 754 //
760 // Without relocation: 755 // Without relocation:
761 // movz ip0, #(target & 0x000000000000ffff) 756 // movz ip0, #(target & 0x000000000000ffff)
762 // movk ip0, #(target & 0x00000000ffff0000) 757 // movk ip0, #(target & 0x00000000ffff0000)
(...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after
2049 class EnsureSpace BASE_EMBEDDED { 2044 class EnsureSpace BASE_EMBEDDED {
2050 public: 2045 public:
2051 explicit EnsureSpace(Assembler* assembler) { 2046 explicit EnsureSpace(Assembler* assembler) {
2052 assembler->CheckBuffer(); 2047 assembler->CheckBuffer();
2053 } 2048 }
2054 }; 2049 };
2055 2050
2056 } } // namespace v8::internal 2051 } } // namespace v8::internal
2057 2052
2058 #endif // V8_A64_ASSEMBLER_A64_H_ 2053 #endif // V8_A64_ASSEMBLER_A64_H_
OLDNEW
« no previous file with comments | « samples/shell.cc ('k') | src/a64/assembler-a64-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698