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

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

Issue 2318553002: [arm] Implement barriers on ARMv6 using CP15. (Closed)
Patch Set: Created 4 years, 3 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/arm/assembler-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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 void stm(BlockAddrMode am, Register base, RegList src, Condition cond = al); 1015 void stm(BlockAddrMode am, Register base, RegList src, Condition cond = al);
1016 1016
1017 // Exception-generating instructions and debugging support 1017 // Exception-generating instructions and debugging support
1018 void stop(const char* msg, 1018 void stop(const char* msg,
1019 Condition cond = al, 1019 Condition cond = al,
1020 int32_t code = kDefaultStopCode); 1020 int32_t code = kDefaultStopCode);
1021 1021
1022 void bkpt(uint32_t imm16); // v5 and above 1022 void bkpt(uint32_t imm16); // v5 and above
1023 void svc(uint32_t imm24, Condition cond = al); 1023 void svc(uint32_t imm24, Condition cond = al);
1024 1024
1025 // Synchronization instructions 1025 // Synchronization instructions.
1026 // On ARMv6, an equivalent CP15 operation will be used.
1026 void dmb(BarrierOption option); 1027 void dmb(BarrierOption option);
1027 void dsb(BarrierOption option); 1028 void dsb(BarrierOption option);
1028 void isb(BarrierOption option); 1029 void isb(BarrierOption option);
1029 1030
1030 // Coprocessor instructions 1031 // Coprocessor instructions
1031 1032
1032 void cdp(Coprocessor coproc, int opcode_1, 1033 void cdp(Coprocessor coproc, int opcode_1,
1033 CRegister crd, CRegister crn, CRegister crm, 1034 CRegister crd, CRegister crn, CRegister crm,
1034 int opcode_2, Condition cond = al); 1035 int opcode_2, Condition cond = al);
1035 1036
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 explicit EnsureSpace(Assembler* assembler) { 1686 explicit EnsureSpace(Assembler* assembler) {
1686 assembler->CheckBuffer(); 1687 assembler->CheckBuffer();
1687 } 1688 }
1688 }; 1689 };
1689 1690
1690 1691
1691 } // namespace internal 1692 } // namespace internal
1692 } // namespace v8 1693 } // namespace v8
1693 1694
1694 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1695 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698