Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e5ec43ac
Commit
e5ec43ac
authored
Oct 02, 2002
by
Andreas Jaeger
Committed by
Andreas Jaeger
Oct 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable tests on x86-64.
From-SVN: r57737
parent
7217543f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
8 deletions
+21
-8
gcc/testsuite/ChangeLog
+7
-0
gcc/testsuite/g++.old-deja/g++.other/asm3.C
+1
-1
gcc/testsuite/g++.old-deja/g++.pt/asm1.C
+1
-1
gcc/testsuite/gcc.dg/20000614-2.c
+1
-1
gcc/testsuite/gcc.dg/20020103-1.c
+4
-1
gcc/testsuite/gcc.dg/20020919-1.c
+4
-1
gcc/testsuite/gcc.dg/980211-1.c
+2
-2
gcc/testsuite/gcc.dg/inline-2.c
+1
-1
No files found.
gcc/testsuite/ChangeLog
View file @
e5ec43ac
2002-10-02 Andreas Jaeger <aj@suse.de>
* gcc.dg/20020919-1.c, gcc.dg/inline-2.c, gcc.dg/980211-1.c,
gcc.dg/20020103-1.c, gcc.dg/20000614-2.c,
g++.old-deja/g++.pt/asm1.C, g++.old-deja/g++.other/asm3.C: Enable
on x86-64.
2002-10-01 Mark Mitchell <mark@codesourcery.com>
2002-10-01 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/empty1.C: Fix typo.
* gcc.dg/empty1.C: Fix typo.
...
...
gcc/testsuite/g++.old-deja/g++.other/asm3.C
View file @
e5ec43ac
// Build don't link:
// Build don't link:
// Skip if not target: i?86-*-*
// Skip if not target: i?86-*-*
x86_64-*-*
// Special g++ Options: -O2
// Special g++ Options: -O2
typedef
unsigned
long
long
uint64
;
typedef
unsigned
long
long
uint64
;
...
...
gcc/testsuite/g++.old-deja/g++.pt/asm1.C
View file @
e5ec43ac
// Build don't link:
// Build don't link:
// Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch>
// Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch>
// Skip if not target: i?86-*-linux*
// Skip if not target: i?86-*-linux*
x86_64-*-linux
template
<
int
i
>
int
foo
(
int
v
)
template
<
int
i
>
int
foo
(
int
v
)
{
{
...
...
gcc/testsuite/gcc.dg/20000614-2.c
View file @
e5ec43ac
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run { target i?86-*-*
x86_64-*-*
} } */
/* { dg-options "-O2 -fno-strength-reduce" } */
/* { dg-options "-O2 -fno-strength-reduce" } */
extern
void
abort
(
void
);
extern
void
abort
(
void
);
...
...
gcc/testsuite/gcc.dg/20020103-1.c
View file @
e5ec43ac
/* Verify that constant equivalences get reloaded properly, either by being
/* Verify that constant equivalences get reloaded properly, either by being
spilled to the stack, or regenerated, but not dropped to memory. */
spilled to the stack, or regenerated, but not dropped to memory. */
/* { dg-do compile { target i?86-*-* powerpc-*-* rs6000-*-* alpha*-*-* } } */
/* { dg-do compile { target i?86-*-* powerpc-*-* rs6000-*-* alpha*-*-*
x86_64-*-*
} } */
/* { dg-options "-O2 -fpic -fno-omit-frame-pointer" } */
/* { dg-options "-O2 -fpic -fno-omit-frame-pointer" } */
/* { dg-final { scan-assembler-not "LC" } } */
/* { dg-final { scan-assembler-not "LC" } } */
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
#define clobber \
#define clobber \
asm volatile("#asm" : : : "$9", "$10", "$11", "$12", "$13", "$14", \
asm volatile("#asm" : : : "$9", "$10", "$11", "$12", "$13", "$14", \
"$f2", "$f3", "$f4", "$f5", "$f6", "$f7", "$f8", "$f9")
"$f2", "$f3", "$f4", "$f5", "$f6", "$f7", "$f8", "$f9")
#elif defined(__x86_64__)
#define clobber \
asm volatile("#asm" : : : "rcx", "rdx", "rsi", "rdi", "r8", "r9", "r10", "r11")
#else
#else
#error no clobber macro defined
#error no clobber macro defined
#endif
#endif
...
...
gcc/testsuite/gcc.dg/20020919-1.c
View file @
e5ec43ac
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
You must be this tall ---> fit two long longs in asm-declared registers
You must be this tall ---> fit two long longs in asm-declared registers
to enter this amusement. */
to enter this amusement. */
/* { dg-do compile { target alpha-*-* cris-*-* i?86-*-* mmix-*-* powerpc-*-* rs6000-*-* } } */
/* { dg-do compile { target alpha-*-* cris-*-* i?86-*-* mmix-*-* powerpc-*-* rs6000-*-*
x86_64-*-*
} } */
/* { dg-options "-O2" } */
/* { dg-options "-O2" } */
/* Constructed examples; input/output (same register), output, input, and
/* Constructed examples; input/output (same register), output, input, and
...
@@ -42,6 +42,9 @@
...
@@ -42,6 +42,9 @@
# define REG2 "7"
# define REG2 "7"
# define REG3 "8"
# define REG3 "8"
# define REG4 "9"
# define REG4 "9"
#elif defined (__x86_64__)
# define REG1 "rax"
# define REG2 "rdx"
#endif
#endif
/* For readability of the tests. */
/* For readability of the tests. */
...
...
gcc/testsuite/gcc.dg/980211-1.c
View file @
e5ec43ac
/* Test long double on x86. */
/* Test long double on x86
and x86-64
. */
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run { target i?86-*-*
x86_64-*-*
} } */
/* { dg-options -O2 } */
/* { dg-options -O2 } */
extern
void
abort
(
void
);
extern
void
abort
(
void
);
...
...
gcc/testsuite/gcc.dg/inline-2.c
View file @
e5ec43ac
...
@@ -15,5 +15,5 @@ int bar(void)
...
@@ -15,5 +15,5 @@ int bar(void)
}
}
/* { dg-final { scan-assembler "bsr" { target alpha*-*-* } } } */
/* { dg-final { scan-assembler "bsr" { target alpha*-*-* } } } */
/* { dg-final { scan-assembler-not "PLT" { target i?86-*-* } } } */
/* { dg-final { scan-assembler-not "PLT" { target i?86-*-*
x86_64-*-*
} } } */
/* { dg-final { scan-assembler-not "plt" { target powerpc*-*-* } } } */
/* { dg-final { scan-assembler-not "plt" { target powerpc*-*-* } } } */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment