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

Unified Diff: src/IceInstARM32.h

Issue 1624383004: Add VMOV(immediate) instructions to the ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in previous patch. Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: src/IceInstARM32.h
diff --git a/src/IceInstARM32.h b/src/IceInstARM32.h
index 6dba05f5089354c668cb801b63e6fa7e41e7a741..eda1fe4b2683f25d3b6c3ecbff0107f88322bd92 100644
--- a/src/IceInstARM32.h
+++ b/src/IceInstARM32.h
@@ -266,10 +266,12 @@ public:
static bool canHoldImm(Operand *C, uint32_t *ModifiedImm);
+ uint32_t getModifiedImm() const { return ModifiedImm; }
+
private:
OperandARM32FlexFpImm(Cfg *Func, Type Ty, uint32_t ModifiedImm);
- uint32_t ModifiedImm;
+ const uint32_t ModifiedImm;
};
/// An operand for representing the 0.0 immediate in vcmp.
@@ -1340,6 +1342,7 @@ private:
void emitSingleDestSingleSource(const Cfg *Func) const;
void emitIASSingleDestSingleSource(const Cfg *Func) const;
+ void emitIASScalarVFPMove(const Cfg *Func) const;
void emitIASCoreVFPMove(const Cfg *Func) const;
Variable *DestHi = nullptr;

Powered by Google App Engine
This is Rietveld 408576698