Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norbert Pócs
nettle
Commits
95b29fe5
Commit
95b29fe5
authored
Jul 14, 2020
by
Maamoun TK
Committed by
Niels Möller
Aug 26, 2020
Browse files
Options
Downloads
Patches
Plain Diff
"PowerPC64" Add machine.m4
parent
c3c08e77
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
powerpc64/machine.m4
+32
-0
32 additions, 0 deletions
powerpc64/machine.m4
with
32 additions
and
0 deletions
powerpc64/machine.m4
0 → 100644
+
32
−
0
View file @
95b29fe5
define(<PROLOGUE>,
<.globl C_NAME($1)
DECLARE_FUNC(C_NAME($1))
ifelse(WORDS_BIGENDIAN,no,
<ifdef(<FUNC_ALIGN>,<.align FUNC_ALIGN>)
C_NAME($1):
addis 2,12,(.TOC.-C_NAME($1))@ha
addi 2,2,(.TOC.-C_NAME($1))@l
.localentry C_NAME($1), .-C_NAME($1)>,
<.section ".opd","aw"
.align 3
C_NAME($1):
.quad .C_NAME($1),.TOC.@tocbase,0
.previous
ifdef(<FUNC_ALIGN>,<.align FUNC_ALIGN>)
.C_NAME($1):>)
undefine(<FUNC_ALIGN>)>)
define(<EPILOGUE>,
<ifelse(WORDS_BIGENDIAN,no,
<.size C_NAME($1), . - C_NAME($1)>,
<.size .C_NAME($1), . - .C_NAME($1)
.size C_NAME($1), . - .C_NAME($1)>)>)
C Load the quadword in DATA_SRC storage into
C VEC_DST. GPR is general-purpose register
C used to obtain the effective address of
C DATA_SRC storage.
C DATA_LOAD_VEC(VEC_DST, DATA_SRC, GPR)
define(<DATA_LOAD_VEC>,
<ld $3,$2@got(2)
lvx $1,0,$3>)
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