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
58666503
Commit
58666503
authored
13 years ago
by
Rainer Orth
Committed by
Rainer Orth
13 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore Ada bootstrap on Solaris 8, 9/x86
From-SVN: r179189
parent
ce438663
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ada/ChangeLog
+5
-0
gcc/ada/s-atocou-x86.adb
+2
-2
No files found.
gcc/ada/ChangeLog
View file @
58666503
...
...
@@ -4,6 +4,11 @@
dereference
of
the
pointer
to
the
storage
area
.
Remove
useless
type
conversions
and
factor
out
common
code
.
2011
-
09
-
26
Rainer
Orth
<
ro
@
CeBiTec
.
Uni
-
Bielefeld
.
DE
>
*
s
-
atocou
-
x86
.
adb
(
Decrement
):
Use
%;.
(
Increment
):
Likewise
.
2011
-
09
-
26
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
gcc
-
interface
/
utils
.
c
(
maybe_unconstrained_array
):
Declare
TYPE
local
...
...
This diff is collapsed.
Click to expand it.
gcc/ada/s-atocou-x86.adb
View file @
58666503
...
...
@@ -50,7 +50,7 @@ package body System.Atomic_Counters is
begin
System.Machine_Code.Asm
(Template =>
"lock decl" & ASCII.HT & "%0" & ASCII.LF & ASCII.HT
"lock
%;
decl" & ASCII.HT & "%0" & ASCII.LF & ASCII.HT
& "sete %1",
Outputs =>
(Unsigned_32'
Asm_Output
(
"=m"
,
Item
.
Value
),
...
...
@@ -68,7 +68,7 @@ package body System.Atomic_Counters is
procedure
Increment
(
Item
:
in
out
Atomic_Counter
)
is
begin
System
.
Machine_Code
.
Asm
(
Template
=>
"lock incl"
&
ASCII
.
HT
&
"%0"
,
(
Template
=>
"lock
%;
incl"
&
ASCII
.
HT
&
"%0"
,
Outputs
=>
Unsigned_32
'Asm_Output ("=m", Item.Value),
Inputs => Unsigned_32'
Asm_Input
(
"m"
,
Item
.
Value
),
Volatile
=>
True
);
...
...
This diff is collapsed.
Click to expand it.
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