summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/src/backend/gen_insn_selection_optimize.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/src/backend/gen_insn_selection_optimize.cpp b/backend/src/backend/gen_insn_selection_optimize.cpp
index 71333a40..e52d562e 100644
--- a/backend/src/backend/gen_insn_selection_optimize.cpp
+++ b/backend/src/backend/gen_insn_selection_optimize.cpp
@@ -459,14 +459,10 @@ namespace gbe
else if(src0.type == GEN_TYPE_UD || src1.type == GEN_TYPE_UD)
{
unsigned int s0 = src0.value.ud;
- if (src0.absolute)
- s0 = abs(s0);
if (src0.negation)
s0 = -s0;
unsigned int s1 = src1.value.ud;
- if (src1.absolute)
- s1 = abs(s1);
if (src1.negation)
s1 = -s1;