diff --git a/handwritten/hexagon_arch_c/functions.c b/handwritten/hexagon_arch_c/functions.c index 2dc53846..f63b578e 100644 --- a/handwritten/hexagon_arch_c/functions.c +++ b/handwritten/hexagon_arch_c/functions.c @@ -642,6 +642,7 @@ RZ_API HexInsn *hexagon_alloc_instr() { if (!hi) { RZ_LOG_FATAL("Could not allocate memory for new instruction.\n"); } + hi->fround_mode = RZ_FLOAT_RMODE_RNE; return hi; } diff --git a/handwritten/hexagon_h/typedefs.h b/handwritten/hexagon_h/typedefs.h index 067c4966..3ae9b086 100644 --- a/handwritten/hexagon_h/typedefs.h +++ b/handwritten/hexagon_h/typedefs.h @@ -113,6 +113,7 @@ typedef struct { HexOp ops[HEX_MAX_OPERANDS]; ///< The operands of the instructions. HexILInsn il_insn; ///< RZIL instruction. These are not meant for execution! Use the packet ops for that. ut8 slot; ///< The slot the instruction occupies. + RzFloatRMode fround_mode; ///< The float rounding mode of the instruction. } HexInsn; /** diff --git a/rzil_compiler b/rzil_compiler index d94615d4..79b4ad96 160000 --- a/rzil_compiler +++ b/rzil_compiler @@ -1 +1 @@ -Subproject commit d94615d4bbe5494de45e1e6b9d1802b51f7a338e +Subproject commit 79b4ad96a854e2a28e5f8b3a3a0d1a0262b1bda2