shithub: scc

ref: 89c576b05ec3efa7bfe0880be3002742fba88cd1
dir: /cc2/arch/qbe/arch.h/

View raw version

#define TINT    long long
#define TUINT   unsigned long long
#define TFLOAT  double
#define TSIZE   unsigned long

enum asmop {
	ASLOAD,
	ASSTB,
	ASSTH,
	ASSTW,
	ASSTL,
	ASSTS,
	ASSTD,

	ASADDW,
	ASSUBW,
	ASMULW,
	ASMODW,
	ASUMODW,
	ASDIVW,
	ASUDIVW,
	ASSHLW,
	ASSHRW,
	ASLTW,
	ASULTW,
	ASGTW,
	ASUGTW,
	ASLEW,
	ASULEW,
	ASGEW,
	ASUGEW,
	ASEQW,
	ASNEW,
	ASBANDW,
	ASBORW,
	ASBXORW,
	ASCPLW,

	ASADDL,
	ASSUBL,
	ASMULL,
	ASMODL,
	ASUMODL,
	ASDIVL,
	ASUDIVL,
	ASSHLL,
	ASSHRL,
	ASLTL,
	ASULTL,
	ASGTL,
	ASUGTL,
	ASLEL,
	ASULEL,
	ASGEL,
	ASUGEL,
	ASEQL,
	ASNEL,
	ASBANDL,
	ASBORL,
	ASBXORL,
	ASCPLL,

	ASADDS,
	ASSUBS,
	ASMULS,
	ASMODS,
	ASDIVS,
	ASSHLS,
	ASSHRS,
	ASLTS,
	ASGTS,
	ASLES,
	ASGES,
	ASEQS,
	ASNES,
	ASBANDS,
	ASBORS,
	ASBXORS,
	ASCPLS,

	ASADDD,
	ASSUBD,
	ASMULD,
	ASMODD,
	ASDIVD,
	ASSHLD,
	ASSHRD,
	ASLTD,
	ASGTD,
	ASLED,
	ASGED,
	ASEQD,
	ASNED,
	ASBANDD,
	ASBORD,
	ASBXORD,
	ASCPLD,
};