stop using OXxx1 and use new OLoad

This commit is contained in:
Quentin Carbonneaux 2016-02-18 19:40:40 -05:00
parent 7922b259d9
commit 97cfdc309e
6 changed files with 34 additions and 53 deletions

View file

@ -230,28 +230,22 @@ enum Op {
OStorew,
OStoreh,
OStoreb,
#define OStore OStored
#define OStore1 OStoreb
OLoadl, /* needs to match OExt (mem.c) */
OLoadsw,
#define isstore(o) (OStored <= o && o <= OStoreb)
OLoadsw, /* needs to match OExt (mem.c) */
OLoaduw,
OLoadsh,
OLoaduh,
OLoadsb,
OLoadub,
OLoadd,
OLoads,
#define OLoad OLoadl
#define OLoad1 OLoads
OExtl,
OLoad,
#define isload(o) (OLoadsw <= o && o <= OLoad)
OExtsw,
OExtuw,
OExtsh,
OExtuh,
OExtsb,
OExtub,
#define OExt OExtl
#define OExt1 OExtub
#define isext(o) (OExtsw <= o && o <= OExtub)
OAlloc,
OAlloc1 = OAlloc + NAlign-1,