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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-arm/] [cortex-a8-fix-bl.s] - Rev 157

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

	.syntax unified
	.cpu cortex-a8
	.thumb
	.text
 
	@ expansion 32 bytes
        .macro bw1
1:
        add.w r0, r1, r2
        bl.w 1b
        add.w r0, r1, r2
        bl.w 1b
        add.w r0, r1, r2
        bl.w 1b
        add.w r0, r1, r2
        bl.w 1b
        .endm
 
        @ expansion 128 bytes
        .macro bw2
        bw1
        bw1
        bw1
        bw1
        .endm
 
        .align  3
        .global _start
        .thumb
        .thumb_func
        .type   _start, %function
_start:
        nop
 
	@ Trigger Cortex-A8 erratum workaround with bl 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.