Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Keystone
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Third Party Mirrors
Keystone
Commits
72edf4d2
Commit
72edf4d2
authored
8 years ago
by
Nguyen Anh Quynh
Browse files
Options
Downloads
Patches
Plain Diff
change ARM64 mode to little-endian
parent
8a98dafd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
llvm/keystone/ks_priv.h
+1
-1
1 addition, 1 deletion
llvm/keystone/ks_priv.h
suite/regress/test_all_archs.py
+1
-1
1 addition, 1 deletion
suite/regress/test_all_archs.py
with
2 additions
and
2 deletions
llvm/keystone/ks_priv.h
+
1
−
1
View file @
72edf4d2
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#define KS_MODE_SPARC_MASK (KS_MODE_SPARC32|KS_MODE_SPARC64|KS_MODE_LITTLE_ENDIAN|KS_MODE_BIG_ENDIAN)
#define KS_MODE_SPARC_MASK (KS_MODE_SPARC32|KS_MODE_SPARC64|KS_MODE_LITTLE_ENDIAN|KS_MODE_BIG_ENDIAN)
#define KS_MODE_HEXAGON_MASK (KS_MODE_BIG_ENDIAN)
#define KS_MODE_HEXAGON_MASK (KS_MODE_BIG_ENDIAN)
#define KS_MODE_SYSTEMZ_MASK (KS_MODE_BIG_ENDIAN)
#define KS_MODE_SYSTEMZ_MASK (KS_MODE_BIG_ENDIAN)
#define KS_MODE_ARM64_MASK (KS_MODE_
BIG
_ENDIAN)
#define KS_MODE_ARM64_MASK (KS_MODE_
LITTLE
_ENDIAN)
#define KS_MODE_M68K_MASK (KS_MODE_BIG_ENDIAN)
#define KS_MODE_M68K_MASK (KS_MODE_BIG_ENDIAN)
#define ARR_SIZE(a) (sizeof(a)/sizeof(a[0]))
#define ARR_SIZE(a) (sizeof(a)/sizeof(a[0]))
...
...
This diff is collapsed.
Click to expand it.
suite/regress/test_all_archs.py
+
1
−
1
View file @
72edf4d2
...
@@ -38,7 +38,7 @@ class TestAll(regress.RegressTest):
...
@@ -38,7 +38,7 @@ class TestAll(regress.RegressTest):
self
.
kstest
(
KS_ARCH_ARM
,
KS_MODE_THUMB
+
KS_MODE_BIG_ENDIAN
,
b
"
movs r4, #0xf0
"
,
[
0x24
,
0xf0
])
self
.
kstest
(
KS_ARCH_ARM
,
KS_MODE_THUMB
+
KS_MODE_BIG_ENDIAN
,
b
"
movs r4, #0xf0
"
,
[
0x24
,
0xf0
])
# ARM64
# ARM64
self
.
kstest
(
KS_ARCH_ARM64
,
KS_MODE_
BIG
_ENDIAN
,
b
"
ldr w1, [sp, #0x8]
"
,
[
0xe1
,
0x0b
,
0x40
,
0xb9
])
self
.
kstest
(
KS_ARCH_ARM64
,
KS_MODE_
LITTLE
_ENDIAN
,
b
"
ldr w1, [sp, #0x8]
"
,
[
0xe1
,
0x0b
,
0x40
,
0xb9
])
# Hexagon
# Hexagon
self
.
kstest
(
KS_ARCH_HEXAGON
,
KS_MODE_BIG_ENDIAN
,
b
"
v23.w=vavg(v11.w,v2.w):rnd
"
,
[
0xd7
,
0xcb
,
0xe2
,
0x1c
])
self
.
kstest
(
KS_ARCH_HEXAGON
,
KS_MODE_BIG_ENDIAN
,
b
"
v23.w=vavg(v11.w,v2.w):rnd
"
,
[
0xd7
,
0xcb
,
0xe2
,
0x1c
])
...
...
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