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/] [ia64/] [dv-mutex.s] - Rev 301

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

//	
// Test mutex relation handling	
//	
.text
start:	
// user annotation	
	.pred.rel.mutex p1, p2, p3
(p1)	mov r4 = 2
(p2)	mov r4 = 5
(p3)	mov r4 = 7
	rfi
 
// non-predicated compares generate a mutex
	cmp.eq	p1, p2 = r1, r2;;
(p1)	mov r4 = 2
(p2)	mov r4 = 4
	rfi
 
// unconditional compares generate a mutex
(p3)	cmp.eq.unc p1, p2 = r1, r2;;
(p1)	mov r4 = 2
(p2)	mov r4 = 4
	rfi
 
// non-predicated compares don't remove mutex
	cmp.eq p1, p2 = r1, r2;;
(p1)	mov r4 = 2
(p2)	mov r4 = 4
	rfi
 
// predicated compares don't remove mutex
(p3)	cmp.eq p1, p2 = r1, r2;;
(p1)	mov r4 = 2
(p2)	mov r4 = 4
	rfi
L:	
 

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.