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

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

Issue 222403002: ARM: Avoid VMSR instruction when converting to clamped uint8 (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 years, 8 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 346
347 // Support for VFP. 347 // Support for VFP.
348 void DecodeTypeVFP(Instruction* instr); 348 void DecodeTypeVFP(Instruction* instr);
349 void DecodeType6CoprocessorIns(Instruction* instr); 349 void DecodeType6CoprocessorIns(Instruction* instr);
350 void DecodeSpecialCondition(Instruction* instr); 350 void DecodeSpecialCondition(Instruction* instr);
351 351
352 void DecodeVMOVBetweenCoreAndSinglePrecisionRegisters(Instruction* instr); 352 void DecodeVMOVBetweenCoreAndSinglePrecisionRegisters(Instruction* instr);
353 void DecodeVCMP(Instruction* instr); 353 void DecodeVCMP(Instruction* instr);
354 void DecodeVCVTBetweenDoubleAndSingle(Instruction* instr); 354 void DecodeVCVTBetweenDoubleAndSingle(Instruction* instr);
355 void DecodeVCVTBetweenFloatingPointAndInteger(Instruction* instr); 355 void DecodeVCVTBetweenFloatingPointAndInteger(Instruction* instr);
356 void DecodeVCVTBetweenFloatingPointAndFixedPoint(Instruction* instr);
356 357
357 // Executes one instruction. 358 // Executes one instruction.
358 void InstructionDecode(Instruction* instr); 359 void InstructionDecode(Instruction* instr);
359 360
360 // ICache. 361 // ICache.
361 static void CheckICache(v8::internal::HashMap* i_cache, Instruction* instr); 362 static void CheckICache(v8::internal::HashMap* i_cache, Instruction* instr);
362 static void FlushOnePage(v8::internal::HashMap* i_cache, intptr_t start, 363 static void FlushOnePage(v8::internal::HashMap* i_cache, intptr_t start,
363 int size); 364 int size);
364 static CachePage* GetCachePage(v8::internal::HashMap* i_cache, void* page); 365 static CachePage* GetCachePage(v8::internal::HashMap* i_cache, void* page);
365 366
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 484
484 static inline void UnregisterCTryCatch() { 485 static inline void UnregisterCTryCatch() {
485 Simulator::current(Isolate::Current())->PopAddress(); 486 Simulator::current(Isolate::Current())->PopAddress();
486 } 487 }
487 }; 488 };
488 489
489 } } // namespace v8::internal 490 } } // namespace v8::internal
490 491
491 #endif // !defined(USE_SIMULATOR) 492 #endif // !defined(USE_SIMULATOR)
492 #endif // V8_ARM_SIMULATOR_ARM_H_ 493 #endif // V8_ARM_SIMULATOR_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698