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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [bgeu.s] - Rev 856

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

# Source file used to test the bgeu macro.
 
text_label:	
	bgeu	$4,$5,text_label
	bgeu	$0,$5,text_label
	# A second argument of 0 or $0 is always true
	bgeu	$4,1,text_label
	bgeu	$4,2,text_label
	bgeu	$4,0x8000,text_label
	bgeu	$4,-0x8000,text_label
	bgeu	$4,0x10000,text_label
	bgeu	$4,0x1a5a5,text_label
 
# bgtu is handled like bgeu, except when both arguments are registers.
# Just sanity check it otherwise.
	bgtu	$4,$5,text_label
	bgtu	$4,$0,text_label
	bgtu	$4,0,text_label
 
# Sanity test bgeul and bgtul
	.set	mips2
	bgeul	$4,$5,text_label
	bgtul	$4,$5,text_label
 
# Branch to an external label.
	bgeu	$4,$5,external_label
	bgtu	$4,$5,external_label
	bgeul	$4,$5,external_label
	bgtul	$4,$5,external_label
 
# Round to a 16 byte boundary, for ease in testing multiple targets.
	nop
	nop
 

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.