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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-arm/] [cortex-a8-fix-blx.s] - Rev 394

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

	.syntax unified
	.cpu cortex-a8
	.text
 
	@ expansion 32 bytes
        .macro bw1
        add.w r0, r1, r2
        blx.w armfn
        add.w r0, r1, r2
        blx.w armfn
        add.w r0, r1, r2
        blx.w armfn
        add.w r0, r1, r2
        blx.w armfn
        .endm
 
        @ expansion 128 bytes
        .macro bw2
        bw1
        bw1
        bw1
        bw1
        .endm
 
	.arm
        .align  2
armfn:
	mov	r2, r3, asl r4
	bx	lr
 
        .global _start
 
	.thumb
        .thumb_func
	.align 3
        .type   _start, %function
_start:
        nop
 
	@ Trigger Cortex-A8 erratum workaround with blx instructions.
        bw2
        bw2
 
        bx      lr
 

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.