-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial armv7 support. #162
Open
RussellHaley
wants to merge
7
commits into
vnmakarov:v0_master
Choose a base branch
from
RussellHaley:rhaley-armv7-0.1
base: v0_master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,550
−97
Open
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1fa9136
Initial armv7 support.
RussellHaley 9bf32b4
Re-add changes lost in ssh disconnect.
RussellHaley 34ccc1d
Update comment.
RussellHaley 61695b8
Removed redefines. Made some guesses at int64 defines.
RussellHaley 2d3a3d6
Cleanup defines.
RussellHaley 72dafcb
Change to pointer type from hard coded int64_t.
RussellHaley 299fa49
Eliminate all gcc warnings.
RussellHaley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1527,7 +1527,7 @@ static int get_op_reg_index (gen_ctx_t gen_ctx, MIR_op_t op) { | |
|
||
static htab_hash_t def_tab_el_hash (def_tab_el_t el, void *arg) { | ||
return mir_hash_finish ( | ||
mir_hash_step (mir_hash_step (mir_hash_init (0x33), (uint64_t) el.bb), (uint64_t) el.reg)); | ||
mir_hash_step (mir_hash_step (mir_hash_init (0x33), (uintptr_t) el.bb), (uintptr_t) el.reg)); | ||
} | ||
|
||
static int def_tab_el_eq (def_tab_el_t el1, def_tab_el_t el2, void *arg) { | ||
|
@@ -5206,7 +5206,7 @@ static void print_code (gen_ctx_t gen_ctx, uint8_t *code, size_t code_len, void | |
"gcc -c -o %s.o %s 2>&1 && objcopy --update-section .text=%s %s.o && objdump " | ||
"--adjust-vma=0x%llx -d %s.o; rm -f " | ||
"%s.o %s %s", | ||
cfname, cfname, bfname, cfname, (unsigned long long) start_addr, cfname, cfname, cfname, | ||
cfname, cfname, bfname, cfname, (uintptr_t) start_addr, cfname, cfname, cfname, | ||
bfname); | ||
#endif | ||
fprintf (stderr, "%s\n", command); | ||
|
@@ -5389,7 +5389,7 @@ void *MIR_gen (MIR_context_t ctx, int gen_num, MIR_item_t func_item) { | |
"Generation of code for %s: %lu MIR insns (addr=%llx, len=%lu) -- time %.2f ms\n", | ||
MIR_item_name (ctx, func_item), | ||
(long unsigned) DLIST_LENGTH (MIR_insn_t, func_item->u.func->insns), | ||
(unsigned long long) machine_code, (unsigned long) code_len, | ||
(uintptr_t) machine_code, (unsigned long) code_len, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change causes a warning on 64 bit Ubuntu 20. (see comment above) |
||
(real_usec_time () - start_time) / 1000.0); | ||
}); | ||
_MIR_restore_func_insns (ctx, func_item); | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change causes the following warning on Ubuntu 20 64 bit VM: