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
9eca1774
Commit
9eca1774
authored
Apr 13, 2009
by
Michael Eager
Committed by
Michael Eager
Apr 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add configuration-specific options for --target=powerpc-xilinx-eabi.
From-SVN: r146016
parent
b0e2d008
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
7 deletions
+29
-7
gcc/ChangeLog
+8
-0
gcc/config.gcc
+1
-7
gcc/config/rs6000/rs6000-c.c
+20
-0
No files found.
gcc/ChangeLog
View file @
9eca1774
2009-04-13 Michael Eager <eager@eagercon.com>
* config/rs6000/rs6000-c.c: generate defines if rs6000_xilinx_fpu:
_XFPU, _XFPU_SP_LITE, _XFPU_SP_FULL, _XFPU_DP_LITE, _XFPU_DP_FULL
* config/rs6000/xilinx.h: New. Spec for powerpc-xilinx-eabi
* config.gcc (powerpc-xilinx-eabi): add xilinx.h to tm_file,
remove duplicate config
2009-04-13 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* ipa-inline.c (cgraph_decide_inlining_of_small_function): Dump
...
...
gcc/config.gcc
View file @
9eca1774
...
...
@@ -1775,7 +1775,7 @@ powerpc-*-eabialtivec*)
use_gcc_stdint=wrap
;;
powerpc-xilinx-eabi*)
tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/singlefp.h"
tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/singlefp.h
rs6000/xfpu.h rs6000/xilinx.h
"
extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
use_gcc_stdint=wrap
...
...
@@ -1899,12 +1899,6 @@ powerpcle-*-eabi*)
extra_options="${extra_options} rs6000/sysv4.opt"
use_gcc_stdint=wrap
;;
powerpc-xilinx-eabi*)
tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/singlefp.h rs6000/xfpu.h"
extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
use_gcc_stdint=wrap
;;
rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h rs6000/aix-stdint.h"
tmake_file=rs6000/t-aix43
...
...
gcc/config/rs6000/rs6000-c.c
View file @
9eca1774
...
...
@@ -347,6 +347,26 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile)
/* Let the compiled code know if 'f' class registers will not be available. */
if
(
TARGET_SOFT_FLOAT
||
!
TARGET_FPRS
)
builtin_define
(
"__NO_FPRS__"
);
/* Generate defines for Xilinx FPU. */
if
(
rs6000_xilinx_fpu
)
{
builtin_define
(
"_XFPU"
);
if
(
rs6000_single_float
&&
!
rs6000_double_float
)
{
if
(
rs6000_simple_fpu
)
builtin_define
(
"_XFPU_SP_LITE"
);
else
builtin_define
(
"_XFPU_SP_FULL"
);
}
if
(
rs6000_double_float
)
{
if
(
rs6000_simple_fpu
)
builtin_define
(
"_XFPU_DP_LITE"
);
else
builtin_define
(
"_XFPU_DP_FULL"
);
}
}
}
...
...
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