Index: runtime/vm/constants_dbc.h |
diff --git a/runtime/vm/constants_dbc.h b/runtime/vm/constants_dbc.h |
index 4d9c29ab2962e88bd2f3f5d8dedaa09ab8ab0738..2314c96c7a2785a726651c266b951eb8c6c951b1 100644 |
--- a/runtime/vm/constants_dbc.h |
+++ b/runtime/vm/constants_dbc.h |
@@ -220,6 +220,16 @@ namespace dart { |
// |
// FP[rA] <- op(FP[rD]). Assumes FP[rD] is an unboxed double. |
// |
+// - DTruncate, DFloor, DCeil rA, rD |
+// |
+// Applies trunc(), floor(), or ceil() to the unboxed double in FP[rD], and |
+// stores the result in FP[rA]. |
+// |
+// - DoubleToFloat, FloatToDouble rA, rD |
+// |
+// Convert the unboxed float or double in FP[rD] as indicated, and store the |
+// result in FP[rA]. |
+// |
// - BitOr, BitAnd, BitXor rA, rB, rC |
// |
// FP[rA] <- FP[rB] op FP[rC]. These instructions expect their operands to be |
@@ -683,6 +693,11 @@ namespace dart { |
V(DSin, A_D, reg, reg, ___) \ |
V(DPow, A_B_C, reg, reg, reg) \ |
V(DMod, A_B_C, reg, reg, reg) \ |
+ V(DTruncate, A_D, reg, reg, ___) \ |
+ V(DFloor, A_D, reg, reg, ___) \ |
+ V(DCeil, A_D, reg, reg, ___) \ |
+ V(DoubleToFloat, A_D, reg, reg, ___) \ |
+ V(FloatToDouble, A_D, reg, reg, ___) \ |
V(StoreStaticTOS, D, lit, ___, ___) \ |
V(PushStatic, D, lit, ___, ___) \ |
V(InitStaticTOS, 0, ___, ___, ___) \ |