|
From: <sv...@va...> - 2015-01-27 23:09:29
|
Author: sewardj
Date: Tue Jan 27 23:09:23 2015
New Revision: 3074
Log:
Add ILGop_Ident64 to enum type IRLoadGOp so as to make it
possible to represent 64 bit conditional loads in IR.
Modified:
trunk/priv/ir_defs.c
trunk/pub/libvex_ir.h
Modified: trunk/priv/ir_defs.c
==============================================================================
--- trunk/priv/ir_defs.c (original)
+++ trunk/priv/ir_defs.c Tue Jan 27 23:09:23 2015
@@ -1456,6 +1456,7 @@
{
switch (cvt) {
case ILGop_INVALID: vex_printf("ILGop_INVALID"); break;
+ case ILGop_Ident64: vex_printf("Ident64"); break;
case ILGop_Ident32: vex_printf("Ident32"); break;
case ILGop_16Uto32: vex_printf("16Uto32"); break;
case ILGop_16Sto32: vex_printf("16Sto32"); break;
@@ -3495,6 +3496,8 @@
/*OUT*/IRType* t_res, /*OUT*/IRType* t_arg )
{
switch (cvt) {
+ case ILGop_Ident64:
+ *t_res = Ity_I64; *t_arg = Ity_I64; break;
case ILGop_Ident32:
*t_res = Ity_I32; *t_arg = Ity_I32; break;
case ILGop_16Uto32: case ILGop_16Sto32:
Modified: trunk/pub/libvex_ir.h
==============================================================================
--- trunk/pub/libvex_ir.h (original)
+++ trunk/pub/libvex_ir.h Tue Jan 27 23:09:23 2015
@@ -2566,6 +2566,7 @@
typedef
enum {
ILGop_INVALID=0x1D00,
+ ILGop_Ident64, /* 64 bit, no conversion */
ILGop_Ident32, /* 32 bit, no conversion */
ILGop_16Uto32, /* 16 bit load, Z-widen to 32 */
ILGop_16Sto32, /* 16 bit load, S-widen to 32 */
|