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/] [bge.s] - Rev 304

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

# Source file used to test the bge macro.
 
text_label:	
	bge	$4,$5,text_label
	bge	$4,$0,text_label
	bge	$0,$5,text_label
	bge	$4,0,text_label
	bge	$4,1,text_label
	bge	$4,2,text_label
	bge	$4,0x8000,text_label
	bge	$4,-0x8000,text_label
	bge	$4,0x10000,text_label
	bge	$4,0x1a5a5,text_label
 
# bgt is handled like bge, except when both arguments are registers.
# Just sanity check it otherwise.
	bgt	$4,$5,text_label
	bgt	$4,$0,text_label
	bgt	$0,$5,text_label
	bgt	$4,0,text_label
 
# Sanity test bgel and bgtl
	.set	mips2
	bgel	$4,$5,text_label
	bgtl	$4,$5,text_label
 
# Branch to an external label.
	bge	$4,$5,external_label
	bgt	$4,$5,external_label
	bgel	$4,$5,external_label
	bgtl	$4,$5,external_label
 
# Round to a 16 byte boundary, for ease in testing multiple targets.
	nop
	nop
	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.