shithub: scc

ref: e3605a59a69b622c8a3a0e416d9eade7887e1718
dir: /cc2/arch/qbe/arch.h/

View raw version
/* See LICENSE file for copyright and license details. */

enum asmop {
	ASNOP = 0,
	ASSTB,
	ASSTH,
	ASSTW,
	ASSTL,
	ASSTM,
	ASSTS,
	ASSTD,

	ASLDSB,
	ASLDUB,
	ASLDSH,
	ASLDUH,
	ASLDSW,
	ASLDUW,
	ASLDL,
	ASLDS,
	ASLDD,

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

	ASADDL,
	ASSUBL,
	ASMULL,
	ASMODL,
	ASUMODL,
	ASDIVL,
	ASUDIVL,
	ASSHLL,
	ASSHRL,
	ASUSHRL,
	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,

	ASEXTBW,
	ASUEXTBW,
	ASEXTBL,
	ASUEXTBL,
	ASEXTHW,
	ASUEXTHW,
	ASEXTHL,
	ASUEXTHL,
	ASEXTWL,
	ASU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