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/] [arm/] [group-reloc-ldrs-parsing-bad.s] - Rev 205

Compare with Previous | Blame | View Log

@ Tests that are supposed to fail during parsing of LDRS group relocations.
 
	.text
 
@ No NC variants exist for the LDRS relocations.
 
	ldrd	r0, [r0, #:pc_g0_nc:(f)]
	ldrd	r0, [r0, #:pc_g1_nc:(f)]
	ldrd	r0, [r0, #:sb_g0_nc:(f)]
	ldrd	r0, [r0, #:sb_g1_nc:(f)]
 
	strd	r0, [r0, #:pc_g0_nc:(f)]
	strd	r0, [r0, #:pc_g1_nc:(f)]
	strd	r0, [r0, #:sb_g0_nc:(f)]
	strd	r0, [r0, #:sb_g1_nc:(f)]
 
	ldrh	r0, [r0, #:pc_g0_nc:(f)]
	ldrh	r0, [r0, #:pc_g1_nc:(f)]
	ldrh	r0, [r0, #:sb_g0_nc:(f)]
	ldrh	r0, [r0, #:sb_g1_nc:(f)]
 
	strh	r0, [r0, #:pc_g0_nc:(f)]
	strh	r0, [r0, #:pc_g1_nc:(f)]
	strh	r0, [r0, #:sb_g0_nc:(f)]
	strh	r0, [r0, #:sb_g1_nc:(f)]
 
	ldrsh	r0, [r0, #:pc_g0_nc:(f)]
	ldrsh	r0, [r0, #:pc_g1_nc:(f)]
	ldrsh	r0, [r0, #:sb_g0_nc:(f)]
	ldrsh	r0, [r0, #:sb_g1_nc:(f)]
 
	ldrsb	r0, [r0, #:pc_g0_nc:(f)]
	ldrsb	r0, [r0, #:pc_g1_nc:(f)]
	ldrsb	r0, [r0, #:sb_g0_nc:(f)]
	ldrsb	r0, [r0, #:sb_g1_nc:(f)]
 
@ Instructions with a gibberish relocation code.
	ldrd	r0, [r0, #:foo:(f)]
	strd	r0, [r0, #:foo:(f)]
	ldrh	r0, [r0, #:foo:(f)]
	strh	r0, [r0, #:foo:(f)]
	ldrsh	r0, [r0, #:foo:(f)]
	ldrsb	r0, [r0, #:foo:(f)]
 
 

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.