aboutsummaryrefslogtreecommitdiff
path: root/opcodes/bpf-desc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/bpf-desc.c')
-rw-r--r--opcodes/bpf-desc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/bpf-desc.c b/opcodes/bpf-desc.c
index 18ded6e..90adfe6 100644
--- a/opcodes/bpf-desc.c
+++ b/opcodes/bpf-desc.c
@@ -133,19 +133,19 @@ static const CGEN_MACH bpf_cgen_mach_table[] = {
static CGEN_KEYWORD_ENTRY bpf_cgen_opval_h_gpr_entries[] =
{
- { "%a", 0, {0, {{{0, 0}}}}, 0, 0 },
+ { "%r0", 0, {0, {{{0, 0}}}}, 0, 0 },
{ "%r1", 1, {0, {{{0, 0}}}}, 0, 0 },
{ "%r2", 2, {0, {{{0, 0}}}}, 0, 0 },
{ "%r3", 3, {0, {{{0, 0}}}}, 0, 0 },
{ "%r4", 4, {0, {{{0, 0}}}}, 0, 0 },
{ "%r5", 5, {0, {{{0, 0}}}}, 0, 0 },
- { "%ctx", 6, {0, {{{0, 0}}}}, 0, 0 },
+ { "%r6", 6, {0, {{{0, 0}}}}, 0, 0 },
{ "%r7", 7, {0, {{{0, 0}}}}, 0, 0 },
{ "%r8", 8, {0, {{{0, 0}}}}, 0, 0 },
{ "%r9", 9, {0, {{{0, 0}}}}, 0, 0 },
{ "%fp", 10, {0, {{{0, 0}}}}, 0, 0 },
- { "%r0", 0, {0, {{{0, 0}}}}, 0, 0 },
- { "%r6", 6, {0, {{{0, 0}}}}, 0, 0 },
+ { "%a", 0, {0, {{{0, 0}}}}, 0, 0 },
+ { "%ctx", 6, {0, {{{0, 0}}}}, 0, 0 },
{ "%r10", 10, {0, {{{0, 0}}}}, 0, 0 }
};