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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgcc/] [config/] [epiphany/] [epiphany-asm.h] - Blame information for rev 773

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

Line No. Rev Author Line
1 734 jeremybenn
/* Copyright (C) 1995, 1997, 2007, 2008, 2009, 2011
2
   Free Software Foundation, Inc.
3
   Contributed by Embecosm on behalf of Adapteva, Inc.
4
 
5
This file is part of GCC.
6
 
7
GCC is free software; you can redistribute it and/or modify it under
8
the terms of the GNU General Public License as published by the Free
9
Software Foundation; either version 3, or (at your option) any later
10
version.
11
 
12
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13
WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15
for more details.
16
 
17
Under Section 7 of GPL version 3, you are granted additional
18
permissions described in the GCC Runtime Library Exception, version
19
3.1, as published by the Free Software Foundation.
20
 
21
You should have received a copy of the GNU General Public License and
22
a copy of the GCC Runtime Library Exception along with this program;
23
see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
24
<http://www.gnu.org/licenses/>.  */
25
 
26
/* ANSI concatenation macros.  */
27
 
28
#define CONCAT1(a, b) CONCAT2(a, b)
29
#define CONCAT2(a, b) a ## b
30
#define STRINGIFY2(a, b) STRINGIFY(a##b)
31
#define STRINGIFY(a) #a
32
 
33
/* Use the right prefix for global labels.  */
34
 
35
#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
36
 
37
#define FSTAB(X,T)      .stabs  STRINGIFY2(X##:F,T),36,0,__LINE__,SYM(X)
38
#define FUNC(X)         .type SYM(X),@function
39
#define HIDDEN_FUNC(X)  FUNC(X)` .hidden SYM(X)
40
#define ENDFUNC0(X)     CONCAT1(.Lfe_,X): .size X,CONCAT1(.Lfe_,X)-X
41
#define ENDFUNC(X)      ENDFUNC0(SYM(X))
42
 
43
#define TMP0    r12
44
#define TMP1    r16
45
#define TMP2    r17
46
#define TMP3    r18
47
#define TMP4    r19
48
#define TMP5    r20
49
 
50
#define T_INT (0,1)
51
        .stabs  "int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,1,0
52
#define T_UINT (0,2)
53
        .stabs  "unsigned int:t(0,2)=r(0,2);0;037777777777;",128,0,1,0

powered by: WebSVN 2.1.0

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