|
From: <sv...@va...> - 2015-04-15 03:11:44
|
Author: zliu
Date: Wed Apr 15 04:11:38 2015
New Revision: 3133
Log:
Add Iop_Add8, Iop_Add16 and other 8 or 16 bit ALU Iop
in the host_tilegx_isel.c
They were removed during the code review. But without
them, the memcheck's vbit-test failed. So, simply add
them back.
-This line, and those below, will be ignored--
M host_tilegx_isel.c
Modified:
trunk/priv/host_tilegx_isel.c
Modified: trunk/priv/host_tilegx_isel.c
==============================================================================
--- trunk/priv/host_tilegx_isel.c (original)
+++ trunk/priv/host_tilegx_isel.c Wed Apr 15 04:11:38 2015
@@ -480,26 +480,36 @@
switch (e->Iex.Binop.op) {
+ case Iop_Add8:
+ case Iop_Add16:
case Iop_Add32:
case Iop_Add64:
aluOp = GXalu_ADD;
break;
+ case Iop_Sub8:
+ case Iop_Sub16:
case Iop_Sub32:
case Iop_Sub64:
aluOp = GXalu_SUB;
break;
+ case Iop_And8:
+ case Iop_And16:
case Iop_And32:
case Iop_And64:
aluOp = GXalu_AND;
break;
+ case Iop_Or8:
+ case Iop_Or16:
case Iop_Or32:
case Iop_Or64:
aluOp = GXalu_OR;
break;
+ case Iop_Xor8:
+ case Iop_Xor16:
case Iop_Xor32:
case Iop_Xor64:
aluOp = GXalu_XOR;
|