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

Side by Side Diff: src/arm64/decoder-arm64-inl.h

Issue 1276113002: Security: disable nontemporals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | « src/arm64/decoder-arm64.h ('k') | src/arm64/disasm-arm64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ARM64_DECODER_ARM64_INL_H_ 5 #ifndef V8_ARM64_DECODER_ARM64_INL_H_
6 #define V8_ARM64_DECODER_ARM64_INL_H_ 6 #define V8_ARM64_DECODER_ARM64_INL_H_
7 7
8 #include "src/arm64/decoder-arm64.h" 8 #include "src/arm64/decoder-arm64.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/utils.h" 10 #include "src/utils.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 224 }
225 } else { 225 } else {
226 if ((instr->Bits(31, 30) == 0x3) || 226 if ((instr->Bits(31, 30) == 0x3) ||
227 (instr->Mask(0xC4400000) == 0x40000000)) { 227 (instr->Mask(0xC4400000) == 0x40000000)) {
228 V::VisitUnallocated(instr); 228 V::VisitUnallocated(instr);
229 } else { 229 } else {
230 if (instr->Bit(23) == 0) { 230 if (instr->Bit(23) == 0) {
231 if (instr->Mask(0xC4400000) == 0xC0400000) { 231 if (instr->Mask(0xC4400000) == 0xC0400000) {
232 V::VisitUnallocated(instr); 232 V::VisitUnallocated(instr);
233 } else { 233 } else {
234 V::VisitLoadStorePairNonTemporal(instr); 234 // Nontemporals are unimplemented.
235 V::VisitUnimplemented(instr);
235 } 236 }
236 } else { 237 } else {
237 V::VisitLoadStorePairPostIndex(instr); 238 V::VisitLoadStorePairPostIndex(instr);
238 } 239 }
239 } 240 }
240 } 241 }
241 } else { 242 } else {
242 if (instr->Bit(29) == 0) { 243 if (instr->Bit(29) == 0) {
243 if (instr->Mask(0xC4000000) == 0xC4000000) { 244 if (instr->Mask(0xC4000000) == 0xC4000000) {
244 V::VisitUnallocated(instr); 245 V::VisitUnallocated(instr);
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 void Decoder<V>::DecodeAdvSIMDDataProcessing(Instruction* instr) { 640 void Decoder<V>::DecodeAdvSIMDDataProcessing(Instruction* instr) {
640 // TODO(all): Implement Advanced SIMD data processing instruction decode. 641 // TODO(all): Implement Advanced SIMD data processing instruction decode.
641 DCHECK(instr->Bits(27, 25) == 0x7); 642 DCHECK(instr->Bits(27, 25) == 0x7);
642 V::VisitUnimplemented(instr); 643 V::VisitUnimplemented(instr);
643 } 644 }
644 645
645 646
646 } } // namespace v8::internal 647 } } // namespace v8::internal
647 648
648 #endif // V8_ARM64_DECODER_ARM64_INL_H_ 649 #endif // V8_ARM64_DECODER_ARM64_INL_H_
OLDNEW
« no previous file with comments | « src/arm64/decoder-arm64.h ('k') | src/arm64/disasm-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698