]> sourceware.org Git - cgen.git/commit
* desc-cpu.scm (gen-maybe-multi-ifld): Remove superfluous parens.
authorAlan Modra <amodra@gmail.com>
Mon, 2 Dec 2002 21:53:53 +0000 (21:53 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Dec 2002 21:53:53 +0000 (21:53 +0000)
commit8d31764dafdfce6d5aa144c020da3c54189f79b6
tree41c01b69798c8d795c13103a6d585d155b868e7e
parent90afd969ed45b78b9283bbf0723977581d0e1344
* 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.
<opc.c>: 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.
ChangeLog
cpu/ip2k.opc
cpu/xstormy16.opc
desc-cpu.scm
This page took 0.023836 seconds and 5 git commands to generate.