From b6c5fd2c57307b714cfdea29030998dfe7fbf052 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 23 Jul 2007 16:48:15 +0000 Subject: [PATCH] FS_OPT_FP_INV_MUL added [r15297] --- include/libfirm/firmstat.h | 1 + ir/stat/stat_dmp.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/libfirm/firmstat.h b/include/libfirm/firmstat.h index 056e3ffe4..a36205d94 100644 --- a/include/libfirm/firmstat.h +++ b/include/libfirm/firmstat.h @@ -82,6 +82,7 @@ enum firmstat_optimizations_t { FS_OPT_MINUS_NOT, /**< -(~x) = x + 1 */ FS_OPT_NOT_MINUS_1, /**< ~(x - 1) = -x */ FS_OPT_NOT_PLUS_1, /**< ~x + 1 = -x */ + FS_OPT_FP_INV_MUL, /**< x / y = x * (1.0/y) */ FS_OPT_CONST_PHI, /**< Constant evaluation on Phi */ FS_BE_IA32_LEA, /**< Lea was created */ FS_BE_IA32_LOAD_LEA, /**< Load merged with a Lea */ diff --git a/ir/stat/stat_dmp.c b/ir/stat/stat_dmp.c index de072dd84..7516aae54 100644 --- a/ir/stat/stat_dmp.c +++ b/ir/stat/stat_dmp.c @@ -100,6 +100,7 @@ static const struct { { FS_OPT_MINUS_NOT, "algebraic simplification: -(~x) = x + 1" }, { FS_OPT_NOT_MINUS_1, "algebraic simplification: ~(x - 1) = -x" }, { FS_OPT_NOT_PLUS_1, "algebraic simplification: ~x + 1 = -x" }, + { FS_OPT_FP_INV_MUL, "algebraic simplification: x / y = x * (1.0/y)" }, { FS_OPT_CONST_PHI, "constant evaluation on Phi node" }, { FS_BE_IA32_LEA, "ia32 Backend transformation: Lea was created" }, { FS_BE_IA32_LOAD_LEA, "ia32 Backend transformation: Load merged with a Lea" }, -- 2.20.1