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

Subversion Repositories openrisc

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

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

	.if	0
	.if	1
	.endc
	.long	0
	.if	0
	.long	1
	.endc
	.else
	.if	1
	.endc
	.long	2
	.if	0
	.long	3
	.else
	.long	4
	.endc
	.endc
 
	.if	0
	.long	5
	.elseif	1
	.if	0
	.long	6
	.elseif	1
	.long	7
	.endif
	.elseif	1
	.long	8
	.else
	.long	9
	.endif
 
	.comm	c, 1
	.ifndef c
	.err
	.endif
 
	.if	x <> x
	.err
	.endif
	.equiv	y, x
	.ifndef	y
	.err
	.endif
	.if	x <> y
	.err
	.endif
	.equiv	z, x
	.if	y <> z
	.err
	.endif
 
	.equiv	a, y + 1
	.equiv	b, z - 1
	.if	a == x
	.err
	.endif
	.if	a - 1 <> x
	.err
	.endif
	.if	a <> b + 2
	.err
	.endif
	.if	a - b <> 2
	.err
	.endif
 
	.equiv	x, 0
	.if	y
	.err
	.elseif	y
	.err
	.endif
 
	.macro	m x, y
	.ifb \x
	.long	-1
	.else
	.long	\x
	.endif
	.ifnb \y
	.long	\y
	.else
	.long	-1
	.endif
	.endm
	m	,
	m	, 10
	m	11,
	m	12, 13
 
	.p2align 5,0
 

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.