OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mips/] [loongson-2f.s] - Rev 304

Go to most recent revision | Compare with Previous | Blame | View Log

	.text
	.set noreorder
 
movz_insns:
	movz		$2, $3, $4
	movnz		$2, $3, $4
	movn		$2, $3, $4
 
integer_insns:
	mult.g		$2, $3, $4
	multu.g		$5, $6, $7
	dmult.g		$8, $9, $10
	dmultu.g	$11, $12, $13
	div.g		$14, $15, $16
	divu.g		$17, $18, $19
	ddiv.g		$20, $21, $22
	ddivu.g		$23, $24, $25
	mod.g		$26, $27, $28
	modu.g		$29, $30, $31
	dmod.g		$2, $3, $4
	dmodu.g		$5, $6, $7
 
fpu_insns:
	madd.s		$f0, $f1, $f2
	madd.d		$f3, $f4, $f5
	madd.ps		$f6, $f7, $f8
	msub.s		$f9, $f10, $f11
	msub.d		$f12, $f13, $f14
	msub.ps		$f15, $f16, $f17
	nmadd.s		$f18, $f19, $f20
	nmadd.d		$f21, $f22, $f23
	nmadd.ps	$f24, $f25, $f26
	nmsub.s		$f27, $f28, $f29
	nmsub.d		$f0, $f1, $f2
	nmsub.ps	$f3, $f4, $f5
 
simd_insns:
	packsshb	$f0, $f1, $f2
	packsswh	$f3, $f4, $f5
	packushb	$f6, $f7, $f8
	paddb		$f9, $f10, $f11
	paddh		$f12, $f13, $f14
	paddw		$f15, $f16, $f17
	paddd		$f18, $f19, $f20
	paddsb		$f21, $f22, $f23
	paddsh		$f24, $f25, $f26
	paddusb		$f27, $f28, $f29
	paddush		$f0, $f1, $f2
	pandn		$f3, $f4, $f5
	pavgb		$f6, $f7, $f8
	pavgh		$f9, $f10, $f11
	pcmpeqb		$f12, $f13, $f14
	pcmpeqh		$f15, $f16, $f17
	pcmpeqw		$f18, $f19, $f20
	pcmpgtb		$f21, $f22, $f23
	pcmpgth		$f24, $f25, $f26
	pcmpgtw		$f27, $f28, $f29
	pextrh		$f0, $f1, $f2
	pinsrh_0	$f3, $f4, $f5
	pinsrh_1	$f6, $f7, $f8
	pinsrh_2	$f9, $f10, $f11
	pinsrh_3	$f12, $f13, $f14
	pmaddhw		$f15, $f16, $f17
	pmaxsh		$f18, $f19, $f20
	pmaxub		$f21, $f22, $f23
	pminsh		$f24, $f25, $f26
	pminub		$f27, $f28, $f29
	pmovmskb	$f0, $f1
	pmulhuh		$f2, $f3, $f4
	pmulhh		$f5, $f6, $f7
	pmullh		$f8, $f9, $f10
	pmuluw		$f11, $f12, $f13
	pasubub		$f14, $f15, $f16
	biadd		$f17, $f18
	pshufh		$f19, $f20, $f21
	psllh		$f22, $f23, $f24
	psllw		$f25, $f26, $f27
	psrah		$f28, $f29, $f30
	psraw		$f0, $f1, $f2
	psrlh		$f3, $f4, $f5
	psrlw		$f6, $f7, $f8
	psubb		$f9, $f10, $f11
	psubh		$f12, $f13, $f14
	psubw		$f15, $f16, $f17
	psubd		$f18, $f19, $f20
	psubsb		$f21, $f22, $f23
	psubsh		$f24, $f25, $f26
	psubusb		$f27, $f28, $f29
	psubush		$f0, $f1, $f2
	punpckhbh	$f3, $f4, $f5
	punpckhhw	$f6, $f7, $f8
	punpckhwd	$f9, $f10, $f11
	punpcklbh	$f12, $f13, $f14
	punpcklhw	$f15, $f16, $f17
	punpcklwd	$f18, $f19, $f20
 
fixed_point_insns:
	add		$f0, $f1, $f2
	addu		$f3, $f4, $f5
	dadd		$f6, $f7, $f8
	sub		$f9, $f10, $f11
	subu		$f12, $f13, $f14
	dsub		$f15, $f16, $f17
	or		$f18, $f19, $f20
	sll		$f21, $f22, $f23
	dsll		$f24, $f25, $f26
	xor		$f27, $f28, $f29
	nor		$f0, $f1, $f2
	and		$f3, $f4, $f5
	srl		$f6, $f7, $f8
	dsrl		$f9, $f10, $f11
	sra		$f12, $f13, $f14
	dsra		$f15, $f16, $f17
	sequ		$f18, $f19
	sltu		$f20, $f21
	sleu		$f22, $f23
	seq		$f24, $f25
	slt		$f26, $f27
	sle		$f28, $f29
 
mips5_ps_insns:
	abs.ps		$f0, $f2
	add.ps		$f2, $f4, $f6
	c.eq.ps		$f8, $f10
	c.f.ps	    	$f8, $f10
	c.le.ps		$f8, $f10
	c.lt.ps		$f8, $f10
	c.nge.ps	$f8, $f10
	c.ngl.ps	$f8, $f10
	c.ngle.ps	$f8, $f10
	c.ngt.ps	$f8, $f10
	c.ole.ps	$f8, $f10
	c.olt.ps	$f8, $f10
	c.seq.ps	$f8, $f10
	c.sf.ps		$f8, $f10
	c.ueq.ps	$f8, $f10
	c.ule.ps	$f8, $f10
	c.ult.ps	$f8, $f10
	c.un.ps		$f8, $f10
	mov.ps		$f24, $f26
	mul.ps		$f2, $f4, $f6
	neg.ps		$f6, $f8
	sub.ps		$f22, $f24, $f26
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.