From 08a19ed5c736e71b33381eff351cf3d21adab97c Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Wed, 1 Jan 2014 00:02:42 +0800 Subject: [PATCH] refine insn_map structure to further reduce binary size: this makes .SO file around 120K smaller --- utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.h b/utils.h index cac94fa3..6f162a8f 100644 --- a/utils.h +++ b/utils.h @@ -16,8 +16,8 @@ typedef struct Pair { // map instruction to its characteristics typedef struct insn_map { - unsigned int id; - unsigned int mapid; + unsigned short id; + unsigned short mapid; unsigned char regs_use[12]; // list of implicit registers used by this instruction unsigned char regs_mod[20]; // list of implicit registers modified by this instruction unsigned char groups[8]; // list of group this instruction belong to