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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [machine/] [sh/] [asm.h] - Blame information for rev 1009

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

Line No. Rev Author Line
1 1009 ivang
#ifdef __STDC__
2
# define _C_LABEL(x)    _ ## x
3
#else
4
# define _C_LABEL(x)    _/**/x
5
#endif
6
#define _ASM_LABEL(x)   x
7
 
8
#define _ENTRY(name)    \
9
        .text; .align 2; .globl name; name:
10
 
11
#define ENTRY(name)     \
12
        _ENTRY(_C_LABEL(name))
13
 
14
#if (defined (__sh2__) || defined (__sh3__) || defined (__SH3E__) \
15
     || defined (__SH4_SINGLE__) || defined (__SH4__)) || defined(__SH4_SINGLE_ONLY__)
16
#define DELAYED_BRANCHES
17
#define SL(branch, dest, in_slot, in_slot_arg2) \
18
        branch##.s dest; in_slot, in_slot_arg2
19
#else
20
#define SL(branch, dest, in_slot, in_slot_arg2) \
21
        in_slot, in_slot_arg2; branch dest
22
#endif

powered by: WebSVN 2.1.0

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