- add support for Rotl
[libfirm] / ir / be / arm / bearch_arm.c
index 77a1631..5e60e8e 100644 (file)
@@ -223,10 +223,13 @@ static arch_irn_flags_t arm_get_flags(const ir_node *irn)
 static ir_entity *arm_get_frame_entity(const ir_node *irn) {
        /* we do NOT transform be_Spill or be_Reload nodes, so we never
           have frame access using ARM nodes. */
+       (void) irn;
        return NULL;
 }
 
 static void arm_set_frame_entity(ir_node *irn, ir_entity *ent) {
+       (void) irn;
+       (void) ent;
        panic("arm_set_frame_entity() called. This should not happen.");
 }
 
@@ -746,7 +749,7 @@ static arm_isa_t arm_isa_template = {
                &arm_gp_regs[REG_SP],  /* stack pointer */
                &arm_gp_regs[REG_R11], /* base pointer */
                -1,                    /* stack direction */
-               1,                     /* stack alignment for calls */
+               2,                     /* power of two stack alignment for calls, 2^2 == 4 */
                NULL,                  /* main environment */
                7,                     /* spill costs */
                5,                     /* reload costs */
@@ -1193,11 +1196,13 @@ static const backend_params *arm_get_libfirm_params(void) {
        static backend_params p = {
                1,     /* need dword lowering */
                0,     /* don't support inline assembler yet */
+               0,     /* no immediate floating point mode. */
                NULL,  /* no additional opcodes */
                NULL,  /* will be set later */
                NULL,  /* but yet no creator function */
                NULL,  /* context for create_intrinsic_fkt */
                NULL,  /* will be set below */
+               NULL   /* no immediate fp mode */
        };
 
        p.dep_param    = &ad;