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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [err-dsp.s] - Blame information for rev 38

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

Line No. Rev Author Line
1 38 julius
! Check that we get errors when assembling DSP instructions.
2
 
3
! { dg-do assemble }
4
! { dg-options "-isa=SHcompact" }
5
 
6
! Regarding the opcode table, all insns are marked arch_sh_dsp_up; there are
7
! no insns marked arch_sh3_dsp_up.  We check a few marked arch_sh_dsp_up:
8
! two have operands only recognized with -dsp; the other has an opcode not
9
! recognized without -dsp.
10
 
11
        .text
12
start:
13
        ldc r3,mod              ! { dg-error "invalid operands" }
14
        ldre @(16,pc)           ! { dg-error "opcode not valid for this cpu variant" }
15
        lds r4,a0               ! { dg-error "invalid operands" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.