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

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

Issue 138913010: A64: Make the simulator sampling friendly. (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/instructions-a64.cc ('k') | src/a64/simulator-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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 bool set_flags, 644 bool set_flags,
645 int64_t src1, 645 int64_t src1,
646 int64_t src2, 646 int64_t src2,
647 int64_t carry_in = 0); 647 int64_t carry_in = 0);
648 void LogicalHelper(Instruction* instr, int64_t op2); 648 void LogicalHelper(Instruction* instr, int64_t op2);
649 void ConditionalCompareHelper(Instruction* instr, int64_t op2); 649 void ConditionalCompareHelper(Instruction* instr, int64_t op2);
650 void LoadStoreHelper(Instruction* instr, 650 void LoadStoreHelper(Instruction* instr,
651 int64_t offset, 651 int64_t offset,
652 AddrMode addrmode); 652 AddrMode addrmode);
653 void LoadStorePairHelper(Instruction* instr, AddrMode addrmode); 653 void LoadStorePairHelper(Instruction* instr, AddrMode addrmode);
654 uint8_t* AddressModeHelper(unsigned addr_reg, 654 uint8_t* LoadStoreAddress(unsigned addr_reg,
655 int64_t offset, 655 int64_t offset,
656 AddrMode addrmode); 656 AddrMode addrmode);
657 void LoadStoreWriteBack(unsigned addr_reg,
658 int64_t offset,
659 AddrMode addrmode);
660 void CheckMemoryAccess(uint8_t* address, uint8_t* stack);
657 661
658 uint64_t MemoryRead(uint8_t* address, unsigned num_bytes); 662 uint64_t MemoryRead(uint8_t* address, unsigned num_bytes);
659 uint8_t MemoryRead8(uint8_t* address); 663 uint8_t MemoryRead8(uint8_t* address);
660 uint16_t MemoryRead16(uint8_t* address); 664 uint16_t MemoryRead16(uint8_t* address);
661 uint32_t MemoryRead32(uint8_t* address); 665 uint32_t MemoryRead32(uint8_t* address);
662 float MemoryReadFP32(uint8_t* address); 666 float MemoryReadFP32(uint8_t* address);
663 uint64_t MemoryRead64(uint8_t* address); 667 uint64_t MemoryRead64(uint8_t* address);
664 double MemoryReadFP64(uint8_t* address); 668 double MemoryReadFP64(uint8_t* address);
665 669
666 void MemoryWrite(uint8_t* address, uint64_t value, unsigned num_bytes); 670 void MemoryWrite(uint8_t* address, uint64_t value, unsigned num_bytes);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 static void UnregisterCTryCatch() { 854 static void UnregisterCTryCatch() {
851 Simulator::current(Isolate::Current())->PopAddress(); 855 Simulator::current(Isolate::Current())->PopAddress();
852 } 856 }
853 }; 857 };
854 858
855 #endif // !defined(USE_SIMULATOR) 859 #endif // !defined(USE_SIMULATOR)
856 860
857 } } // namespace v8::internal 861 } } // namespace v8::internal
858 862
859 #endif // V8_A64_SIMULATOR_A64_H_ 863 #endif // V8_A64_SIMULATOR_A64_H_
OLDNEW
« no previous file with comments | « src/a64/instructions-a64.cc ('k') | src/a64/simulator-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698