ref: 3979c0fcf50f1ac9df42a871f8627b0fec59ef0d
dir: /src/cmd/as/target/powerpc/ins.c/
#include <stdlib.h> #include <scc/scc.h> #include "../../as.h" #include "proc.h" static int getclass(Node *np) { if (np->addr != AREG) return 0; switch (np->sym->value) { case AREG_R0: case AREG_R1: case AREG_R2: case AREG_R3: case AREG_R4: case AREG_R5: case AREG_R6: case AREG_R7: case AREG_R8: case AREG_R9: case AREG_R10: case AREG_R11: case AREG_R12: case AREG_R13: case AREG_R14: case AREG_R15: case AREG_R16: case AREG_R17: case AREG_R18: case AREG_R19: case AREG_R20: case AREG_R21: case AREG_R22: case AREG_R23: case AREG_R24: case AREG_R25: case AREG_R26: case AREG_R27: case AREG_R29: case AREG_R30: case AREG_R31: return GPRSCLASS; default: abort(); } } int match(Op *Op, Node **args) { return 0; } Node * moperand(void) { abort(); } void i_form(Op *op, Node **args) { abort(); } void b_form(Op *op, Node **args) { abort(); } void sc_form(Op *op, Node **args) { abort(); } void d_form(Op *op, Node **args) { abort(); } void ds_form(Op *op, Node **args) { abort(); } void dq_form(Op *op, Node **args) { abort(); } void x_form(Op *op, Node **args) { abort(); } void xl_form(Op *op, Node **args) { abort(); } void xfx_form(Op *op, Node **args) { abort(); } void xlfdorm_form(Op *op, Node **args) { abort(); } void xx1_form(Op *op, Node **args) { abort(); } void xx2_form(Op *op, Node **args) { abort(); } void xx3_form(Op *op, Node **args) { abort(); } void xx4_form(Op *op, Node **args) { abort(); } void xs_form(Op *op, Node **args) { abort(); } void xo_form(Op *op, Node **args) { abort(); } void a_form(Op *op, Node **args) { abort(); } void m_form(Op *op, Node **args) { abort(); } void md_form(Op *op, Node **args) { abort(); } void mds_form(Op *op, Node **args) { abort(); } void va_form(Op *op, Node **args) { abort(); } void vc_form(Op *op, Node **args) { abort(); } void vx_form(Op *op, Node **args) { abort(); } void evs_form(Op *op, Node **args) { abort(); } void z22_form(Op *op, Node **args) { abort(); } void z23_form(Op *op, Node **args) { abort(); }