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.20.1/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [err-dsp.s] - Rev 205

Compare with Previous | Blame | View Log

! Check that we get errors when assembling DSP instructions.
 
! { dg-do assemble }
! { dg-options "-isa=SHcompact" }
 
! Regarding the opcode table, all insns are marked arch_sh_dsp_up; there are
! no insns marked arch_sh3_dsp_up.  We check a few marked arch_sh_dsp_up:
! two have operands only recognized with -dsp; the other has an opcode not
! recognized without -dsp.
 
	.text
start:
	ldc r3,mod		! { dg-error "invalid operands" }
	ldre @(16,pc)		! { dg-error "opcode not valid for this cpu variant" }
	lds r4,a0		! { dg-error "invalid operands" }
 

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.