OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [hppa/] [basic/] [media.s] - Rev 156

Compare with Previous | Blame | View Log

	.LEVEL 2.0
	.code
	.align 4
; PA2.0 multimedia (halfword) instruction tests
;
; We could/should test some of the corner cases for register and 
; immediate fields.  We should also check the assorted field
; selectors to make sure they're handled correctly.
 
	hadd %r7,%r11,%r12
	hadd,ss %r7,%r11,%r12
	hadd,us %r7,%r11,%r12
 
	havg %r7,%r11,%r12
	hshl %r7,13,%r11
	hshladd %r7,1,%r11,%r12
	hshladd %r7,2,%r11,%r12
	hshladd %r7,3,%r11,%r12
	hshr %r7,13,%r11
	hshr,s %r7,13,%r11
	hshr,u %r7,13,%r11
	hshradd %r7,1,%r11,%r12
	hshradd %r7,2,%r11,%r12
	hshradd %r7,3,%r11,%r12
 
	hsub %r14,%r22,%r9
	hsub,ss %r14,%r22,%r9
	hsub,us %r14,%r22,%r9
 
	mixh,l %r14,%r22,%r9
	mixh,r %r14,%r22,%r9
	mixw,l %r14,%r22,%r9
	mixw,r %r14,%r22,%r9
 
	permh,0321 %r22,%r9
	permh,2222 %r22,%r9
	permh,3030 %r22,%r9
 
 

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.