Revision: 22512
Author: [email protected]
Date: Mon Jul 21 16:20:19 2014 UTC
Log: [Arm]: Assert that movw/movt is only emitted for Armv7 targets
[email protected]
Review URL: https://codereview.chromium.org/402923002
http://code.google.com/p/v8/source/detail?r=22512
Modified:
/branches/bleeding_edge/src/arm/assembler-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/assembler-arm.cc Thu Jul 17 10:34:59
2014 UTC
+++ /branches/bleeding_edge/src/arm/assembler-arm.cc Mon Jul 21 16:20:19
2014 UTC
@@ -1495,11 +1495,13 @@
void Assembler::movw(Register reg, uint32_t immediate, Condition cond) {
+ ASSERT(CpuFeatures::IsSupported(ARMv7));
emit(cond | 0x30*B20 | reg.code()*B12 | EncodeMovwImmediate(immediate));
}
void Assembler::movt(Register reg, uint32_t immediate, Condition cond) {
+ ASSERT(CpuFeatures::IsSupported(ARMv7));
emit(cond | 0x34*B20 | reg.code()*B12 | EncodeMovwImmediate(immediate));
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.