Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
c73878f8
Commit
c73878f8
authored
Dec 19, 2015
by
Matthias Braun
Browse files
Fix warnings
parent
717ea07b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_new_nodes.c
View file @
c73878f8
...
@@ -109,6 +109,7 @@ static const char *get_insn_mode_string(amd64_insn_mode_t mode)
...
@@ -109,6 +109,7 @@ static const char *get_insn_mode_string(amd64_insn_mode_t mode)
case
INSN_MODE_16
:
return
"16"
;
case
INSN_MODE_16
:
return
"16"
;
case
INSN_MODE_32
:
return
"32"
;
case
INSN_MODE_32
:
return
"32"
;
case
INSN_MODE_64
:
return
"64"
;
case
INSN_MODE_64
:
return
"64"
;
case
INSN_MODE_80
:
return
"80"
;
case
INSN_MODE_128
:
return
"128"
;
case
INSN_MODE_128
:
return
"128"
;
case
INSN_MODE_INVALID
:
break
;
case
INSN_MODE_INVALID
:
break
;
}
}
...
...
ir/be/amd64/bearch_amd64.c
View file @
c73878f8
...
@@ -64,6 +64,7 @@ static int get_insn_mode_bytes(amd64_insn_mode_t insn_mode)
...
@@ -64,6 +64,7 @@ static int get_insn_mode_bytes(amd64_insn_mode_t insn_mode)
case
INSN_MODE_32
:
return
4
;
case
INSN_MODE_32
:
return
4
;
case
INSN_MODE_64
:
return
8
;
case
INSN_MODE_64
:
return
8
;
case
INSN_MODE_128
:
return
16
;
case
INSN_MODE_128
:
return
16
;
case
INSN_MODE_80
:
case
INSN_MODE_INVALID
:
break
;
case
INSN_MODE_INVALID
:
break
;
}
}
panic
(
"bad insn mode"
);
panic
(
"bad insn mode"
);
...
...
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