Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
1b9c093f
Commit
1b9c093f
authored
20 years ago
by
Jonas Wallden
Browse files
Options
Downloads
Patches
Plain Diff
Improve compatibility with gcc 4.0.
Rev: src/code/ppc32.h:1.25
parent
220ea192
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/code/ppc32.h
+4
-4
4 additions, 4 deletions
src/code/ppc32.h
with
4 additions
and
4 deletions
src/code/ppc32.h
+
4
−
4
View file @
1b9c093f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
|| for more information.
|| $Id: ppc32.h,v 1.2
4
200
3/12/07
1
8
:35:2
5 marcus
Exp $
|| $Id: ppc32.h,v 1.2
5
200
5/05/24
1
7
:35:2
6 jonasw
Exp $
*/
*/
#define PPC_INSTR_B_FORM(OPCD,BO,BI,BD,AA,LK) \
#define PPC_INSTR_B_FORM(OPCD,BO,BI,BD,AA,LK) \
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
#define PPC_REG_PIKE_FP 9
#define PPC_REG_PIKE_FP 9
#define PPC_REG_PIKE_SP 10
#define PPC_REG_PIKE_SP 10
#define PPC_REG_PIKE_INTERP
31
#define PPC_REG_PIKE_INTERP
29
/* 31 */
extern
int
ppc32_codegen_state
,
ppc32_codegen_last_pc
;
extern
int
ppc32_codegen_state
,
ppc32_codegen_last_pc
;
void
ppc32_flush_code_generator_state
(
void
);
void
ppc32_flush_code_generator_state
(
void
);
...
@@ -234,11 +234,11 @@ void ppc32_decode_program(struct program *p);
...
@@ -234,11 +234,11 @@ void ppc32_decode_program(struct program *p);
#define CALL_MACHINE_CODE(pc) \
#define CALL_MACHINE_CODE(pc) \
__asm__ __volatile__( " mtctr %0\n" \
__asm__ __volatile__( " mtctr %0\n" \
" mr "PPC_REGNAME(
31
)",%1\n" \
" mr "PPC_REGNAME(
29
)",%1\n" \
" bctr" \
" bctr" \
: \
: \
: "r" (pc), "r" (&Pike_interpreter) \
: "r" (pc), "r" (&Pike_interpreter) \
: "ctr", "lr", "cc", "memory", "r
31
", "r0", \
: "ctr", "lr", "cc", "memory", "r
29
", "r0", \
"r3", "r4", "r5", "r6", "r7", "r8", "r9", \
"r3", "r4", "r5", "r6", "r7", "r8", "r9", \
"r10", "r11", "r12")
"r10", "r11", "r12")
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment