From 0462dc3ca7621319e7c92bf90bc4af776facc928 Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 14 Jun 2012 23:05:15 +0000 Subject: [PATCH] * Use A_NEGU (without overflow check) for OP_NEG op_reg_reg git-svn-id: trunk@21615 - --- compiler/mips/cgcpu.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/mips/cgcpu.pas b/compiler/mips/cgcpu.pas index 111100edcb..c45ab23cd7 100644 --- a/compiler/mips/cgcpu.pas +++ b/compiler/mips/cgcpu.pas @@ -1057,7 +1057,8 @@ var begin case Op of OP_NEG: - list.concat(taicpu.op_reg_reg(A_NEG, dst, src)); + { discard overflow checking } + list.concat(taicpu.op_reg_reg(A_NEGU{A_NEG}, dst, src)); OP_NOT: begin list.concat(taicpu.op_reg_reg(A_NOT, dst, src));