From: David Given Date: Thu, 26 Jan 2017 22:41:02 +0000 (+0100) Subject: Report the number of registers in the output table. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b0b70979327787898ee82b8101b499046947b639;p=ack.git Report the number of registers in the output table. --- diff --git a/util/mcgg/registers.c b/util/mcgg/registers.c index f657caafc..8cc58d2c1 100644 --- a/util/mcgg/registers.c +++ b/util/mcgg/registers.c @@ -189,8 +189,10 @@ void analyse_registers(void) } } + printh("#define %Pregister_count %d\n", real_register_count); printh("typedef unsigned int %Pregister_bitmap_t[%d];\n", WORDS_FOR_BITMAP_SIZE(real_register_count)); + printh("\n"); } void emitregisterattrs(void)