assembler: Remove two fixmes.
authorMichael Buesch <mb@bu3sch.de>
Fri, 16 Nov 2007 22:01:08 +0000 (23:01 +0100)
committerMichael Buesch <mb@bu3sch.de>
Fri, 16 Nov 2007 22:01:08 +0000 (23:01 +0100)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
assembler/main.c

index 701721d6f202b2db71b34bee1bdfe4355b98989b..34a057dc2ac61bcd780dc03a0b8e14ba251c92ae 100644 (file)
@@ -289,7 +289,7 @@ static unsigned int generate_reg_operand(struct assembler_context *ctx,
        case SPR:
                /* format: 0b100. .... .... */
                val |= 0x800;
-               if (ctx->arch == 15) //FIXME is this ok?
+               if (ctx->arch == 15)
                        val <<= 1;
                if (reg->nr & ~0x1FF)
                        asm_error(ctx, "SPR-nr too big");
@@ -298,7 +298,7 @@ static unsigned int generate_reg_operand(struct assembler_context *ctx,
        case OFFR:
                /* format: 0b1000 0110 0rrr */
                val |= 0x860;
-               if (ctx->arch == 15) //FIXME is this ok?
+               if (ctx->arch == 15)
                        val <<= 1;
                if (reg->nr & ~0x7)
                        asm_error(ctx, "OFFR-nr too big");