repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
arm-asm.c
blob
1187d9eb466a800f1a8964a124d2207c5335f440
1
/* ARM and Thumb asm statements should be able to access the constant
2
pool. */
3
/* { dg-do compile { target arm*-*-* strongarm*-*-* xscale*-*-* } } */
4
extern
unsigned
x
[];
5
unsigned
*
trapTable
()
6
{
7
unsigned
*
i
;
8
9
__asm__
volatile
(
"ldr %0,%1"
:
"=r"
(
i
) :
"m"
(
x
[
0
]));
10
11
return
i
;
12
}
13