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
a67ded0f
Commit
a67ded0f
authored
Dec 04, 2000
by
Nick Clifton
Committed by
Nick Clifton
Dec 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bogons from XScale contribution
From-SVN: r38018
parent
c84df4c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
gcc/ChangeLog
+6
-0
gcc/config/arm/arm.c
+2
-2
gcc/config/arm/arm.md
+1
-1
No files found.
gcc/ChangeLog
View file @
a67ded0f
2000-12-04 Nick Clifton <nickc@redhat.com>
2000-12-04 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (arm_override_options): Test 'insn_flags' not
'tune_flags' for XScale nature.
* config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
contraint, accidentally changed during XScale contribution.
* config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
* config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
not create these functions if the target architecture does not
not create these functions if the target architecture does not
support Thumb instructions.
support Thumb instructions.
...
...
gcc/config/arm/arm.c
View file @
a67ded0f
...
@@ -526,7 +526,7 @@ arm_override_options ()
...
@@ -526,7 +526,7 @@ arm_override_options ()
target_flags
&=
~
ARM_FLAG_APCS_FRAME
;
target_flags
&=
~
ARM_FLAG_APCS_FRAME
;
}
}
if
(
TARGET_HARD_FLOAT
&&
(
tune
_flags
&
FL_XSCALE
))
if
(
TARGET_HARD_FLOAT
&&
(
insn
_flags
&
FL_XSCALE
))
{
{
warning
(
"XScale does not support hardware FP instructions."
);
warning
(
"XScale does not support hardware FP instructions."
);
target_flags
|=
ARM_FLAG_SOFT_FLOAT
;
target_flags
|=
ARM_FLAG_SOFT_FLOAT
;
...
@@ -587,11 +587,11 @@ arm_override_options ()
...
@@ -587,11 +587,11 @@ arm_override_options ()
arm_fast_multiply
=
(
insn_flags
&
FL_FAST_MULT
)
!=
0
;
arm_fast_multiply
=
(
insn_flags
&
FL_FAST_MULT
)
!=
0
;
arm_arch4
=
(
insn_flags
&
FL_ARCH4
)
!=
0
;
arm_arch4
=
(
insn_flags
&
FL_ARCH4
)
!=
0
;
arm_arch5
=
(
insn_flags
&
FL_ARCH5
)
!=
0
;
arm_arch5
=
(
insn_flags
&
FL_ARCH5
)
!=
0
;
arm_is_xscale
=
(
insn_flags
&
FL_XSCALE
)
!=
0
;
arm_ld_sched
=
(
tune_flags
&
FL_LDSCHED
)
!=
0
;
arm_ld_sched
=
(
tune_flags
&
FL_LDSCHED
)
!=
0
;
arm_is_strong
=
(
tune_flags
&
FL_STRONG
)
!=
0
;
arm_is_strong
=
(
tune_flags
&
FL_STRONG
)
!=
0
;
thumb_code
=
(
TARGET_ARM
==
0
);
thumb_code
=
(
TARGET_ARM
==
0
);
arm_is_xscale
=
(
tune_flags
&
FL_XSCALE
)
!=
0
;
arm_is_6_or_7
=
(((
tune_flags
&
(
FL_MODE26
|
FL_MODE32
))
arm_is_6_or_7
=
(((
tune_flags
&
(
FL_MODE26
|
FL_MODE32
))
&&
!
(
tune_flags
&
FL_ARCH4
)))
!=
0
;
&&
!
(
tune_flags
&
FL_ARCH4
)))
!=
0
;
...
...
gcc/config/arm/arm.md
View file @
a67ded0f
...
@@ -1243,7 +1243,7 @@
...
@@ -1243,7 +1243,7 @@
;; Unnamed template to match long long unsigned multiply-accumlate (umlal)
;; Unnamed template to match long long unsigned multiply-accumlate (umlal)
(define_insn "*umulsidi3adddi"
(define_insn "*umulsidi3adddi"
[(set (match_operand:DI 0 "s_register_operand" "
+
&r")
[(set (match_operand:DI 0 "s_register_operand" "
=
&r")
(plus:DI
(plus:DI
(mult:DI
(mult:DI
(zero_extend:DI (match_operand:SI 2 "s_register_operand" "%r"))
(zero_extend:DI (match_operand:SI 2 "s_register_operand" "%r"))
...
...
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