X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2For1k-opinst.c;h=c267efb6c445e7a70641f404309ba59c04a269fc;hb=c8e98e3692cec125b92c995d8f881d9bdf1fac00;hp=936ed67f1bbe12d37c16235261249bff05e4db2d;hpb=f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/or1k-opinst.c b/opcodes/or1k-opinst.c index 936ed67f1b..c267efb6c4 100644 --- a/opcodes/or1k-opinst.c +++ b/opcodes/or1k-opinst.c @@ -49,6 +49,12 @@ static const CGEN_OPINST sfmt_l_j_ops[] ATTRIBUTE_UNUSED = { { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } }; +static const CGEN_OPINST sfmt_l_adrp_ops[] ATTRIBUTE_UNUSED = { + { INPUT, "disp21", HW_H_IADDR, CGEN_MODE_UDI, OP_ENT (DISP21), 0, 0 }, + { OUTPUT, "rD", HW_H_GPR, CGEN_MODE_UDI, OP_ENT (RD), 0, 0 }, + { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 } +}; + static const CGEN_OPINST sfmt_l_jal_ops[] ATTRIBUTE_UNUSED = { { INPUT, "disp26", HW_H_IADDR, CGEN_MODE_UDI, OP_ENT (DISP26), 0, 0 }, { INPUT, "pc", HW_H_PC, CGEN_MODE_UDI, 0, 0, 0 }, @@ -453,6 +459,7 @@ static const CGEN_OPINST sfmt_lf_madd_d_ops[] ATTRIBUTE_UNUSED = { static const CGEN_OPINST *or1k_cgen_opinst_table[MAX_INSNS] = { 0, & sfmt_l_j_ops[0], + & sfmt_l_adrp_ops[0], & sfmt_l_jal_ops[0], & sfmt_l_jr_ops[0], & sfmt_l_jalr_ops[0],