From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13152 invoked by alias); 2 Dec 2002 21:53:54 -0000 Mailing-List: contact cgen-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cgen-cvs-owner@sources.redhat.com Received: (qmail 13142 invoked by uid 9051); 2 Dec 2002 21:53:54 -0000 Date: Mon, 02 Dec 2002 13:53:00 -0000 Message-ID: <20021202215354.13140.qmail@sources.redhat.com> From: amodra@sources.redhat.com To: cgen-cvs@sources.redhat.com Subject: src/cgen ChangeLog desc-cpu.scm cpu/ip2k.opc c ... X-SW-Source: 2002/txt/msg00039.txt.bz2 List-Id: CVSROOT: /cvs/src Module name: src Changes by: amodra@sourceware.org 2002-12-02 13:53:53 Modified files: cgen : ChangeLog desc-cpu.scm cgen/cpu : ip2k.opc xstormy16.opc Log message: * desc-cpu.scm (gen-maybe-multi-ifld): Remove superfluous parens. Add braces and cast for union field. (gen-multi-ifield-nodes): Add braces and cast for union field. (cgen_operand_table): Similarly fix sentinel. (cgen_cpu_close): Constify "insns". Formatting. (cgen-desc.c): Include xregex.h. * cpu/ip2k.opc (ip2k_cgen_insn_supported): Move to opc.c section. Prototype. : Include safe-ctype.h. (ip2k_asm_hash): Use ISSPACE and TOLOWER. (PARSE_FUNC_DECL): Declare. Use to prototype parse_fr, parse_addr16, parse_addr16_p, parse_addr16_cjp, parse_lit8 and parse_bit3. (parse_fr): Constify "old_strp". Correct type of "tempvalue". Don't test it for >= 0. Use ISSPACE rather than isspace. Formatting. (parse_addr16): Correct type of "value". Formatting. (parse_addr16_p): Likewise. (parse_addr16_cjp): Likewise. (parse_lit8): Likewise. (parse_bit3): Formatting. (PRINT_FUNC_DECL): Define. Use to prototype print_fr, print_dollarhex, print_dollarhex8, print_dollarhex16, print_dollarhex_addr16h, print_dollarhex_addr16l, print_dollarhex_p, print_dollarhex_cj and print_decimal. (print_fr): Add ATTRIBUTE_UNUSED on unused args. Formatting. (print_dollarhex): Add ATTRIBUTE_UNUSED on unused args. (print_dollarhex8): Likewise. (print_dollarhex16): Likewise. (print_dollarhex_addr16h): Likewise. (print_dollarhex_addr16l): Likewise. (print_dollarhex_p): Likewise. (print_dollarhex_cj): Likewise. (print_decimal): Likewise. * cpu/xstormy16.opc (parse_mem8): Use ISALNUM rather than isalnum. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/ChangeLog.diff?cvsroot=src&r1=1.122&r2=1.123 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/desc-cpu.scm.diff?cvsroot=src&r1=1.12&r2=1.13 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/cpu/ip2k.opc.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/cpu/xstormy16.opc.diff?cvsroot=src&r1=1.1&r2=1.2