Nick Clifton
99bf7e37cc
Changed format of help message
1998-07-17 18:44:05 +00:00
Nick Clifton
98c5cd5a5a
Changed command line switch from --m32rx-enable-special to --hidden
...
Removed documentation about the switch.
1998-05-18 17:34:24 +00:00
Nick Clifton
ca6a899da7
Change command line switch fron --enable-special to --m32rx-enable-special
1998-05-14 20:54:47 +00:00
Doug Evans
7c62987898
* config/tc-m32r.c (warn_unmatched_high): New static local.
...
(OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
(OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
(md_longopts): Recognize --{no-,}warn-unmatched-high.
(md_parse_option): Likewise.
(md_show_usage): Likewise.
(m32r_frob_file): Likewise.
1998-05-13 22:10:12 +00:00
Nick Clifton
32c2be7633
Add --enable-special command line switch.
1998-05-12 20:38:36 +00:00
Doug Evans
defc70bf2b
* cgen.h: New file.
...
* cgen.c: Include it.
(MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
(cgen_asm_finish_insn): Result is now void. New arg `result'.
All callers updated.
* config/tc-m32r.c: Include cgen.h.
(m23r_insn): New members num_fixups,fixups.
(assemble_parallel_insn): Initialize debug_sym_link for each insn.
(md_assemble): Simplify code to pack two insns in parallel.
When swapping two insns, update their fixups.
1998-05-07 09:31:42 +00:00
Doug Evans
f2980bb478
* cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
...
* config/tc-m32r.c (assemble_parallel_insn): No need to try
non-relaxable variant any more. Simplify test for nop insn.
(md_assemble): Only scan operands if m32rx. Set orig_insn in case
scan of operands yields an insn different from original (e.g. a macro).
Fix call to can_make_parallel.
1998-04-27 19:36:06 +00:00
Nick Clifton
d0023d7e18
Add initernationalisation macros to error strings
1998-04-24 16:28:25 +00:00
Tom Tromey
48401fcf8c
* Many files: Added gettext invocations around user-visible
...
strings.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* dep-in.sed: Added asintl.h.
* po/Make-in: New file.
* gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
Include "asintl.h".
* read.c (Z_): Renamed from `_'.
* Makefile.am (SUBDIRS): Added po.
(POTFILES): new macro.
(po/POTFILES.in): New target.
($(OBJS)): Added asintl.h.
(HFILES): Likewise.
(INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
(as_new_LDADD): Added $(INTLLIBS).
(as_new_DEPENDENCIES): Added $(INTLDEPS).
(gasp_new_LDADD): Added $(INTLLIBS).
(gasp_new_DEPENDENCIES): New macro.
* configure, aclocal.m4: Rebuilt.
* configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
po/Makefile.
(ALL_LINGUAS): Define.
* macro.c: Include "asintl.h".
* as.c (main): Call setlocale, bindtextdomain, and textdomain.
* as.h: Include "asintl.h".
* config/tc-i386.c (ordinal_names): Removed.
(md_assemble): Changed error text to avoid ordinal_names.
(i386_operand): Likewise.
(reloc): Added as_bad to avoid i18n problems.
(tc_gen_reloc): Likewise.
* config/tc-arm.c (bad_args): Now a #define.
(bad_pc): Likewise.
* config/obj-vms.c (VMS_stab_parse): Changed type of
`long_const_msg'.
(global_symbol_directory): Unified strings to avoid i18n
problems.
* config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
avoid i18n problems.
* config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
* config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
i18n problems.
* config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
problems.
start-sanitize-v850
* config/tc-v850.c (md_assemble): Changed C++ comment into C
comment.
end-sanitize-v850
* config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
problems.
* as.c (print_version_id): Added an fprintf to avoid i18n
problems.
* cond.c (cond_finish_check): Added as_bad call to avoid i18n
problems.
* expr.c (expr): Added as_warn call to avoid i18n problems.
* messages.c (as_assert): Changed code to avoid i18n problems.
(as_abort): Likewise.
* read.c (pseudo_set): Added as_bad call to avoid i18n problems.
(s_space): Likewise.
* po/Make-in, po/POTFILES.in, po/gas.pot: New files.
1998-04-22 06:10:03 +00:00
Nick Clifton
39149be224
Fix bug detected by Michael snyder.
1998-02-25 02:05:09 +00:00
Doug Evans
a15a45e51f
* cgen.c: #include symcat.h.
...
* config/tc-m32r.c: Likewise.
1998-02-23 19:30:18 +00:00
Doug Evans
0c22a4c125
remove #ifdef HAVE_CPU_M32RX uses. tweak some comments
1998-02-18 02:31:57 +00:00
Nick Clifton
b86c0dd361
Only parallelise instructions when assembling for the m32rx, and when
...
neither instruction is relaxable.
1998-02-16 20:30:58 +00:00
Nick Clifton
c9cec4ef98
Do not bother checking the operands of instructions which have no operands!
1998-02-13 22:45:14 +00:00
Nick Clifton
8e7a5a048a
Reverted writes_to_pc() back to old version of code until PC operands are
...
supported by cgen.
1998-02-13 21:52:13 +00:00
Nick Clifton
6cf2575a22
Parallelisation code changed to used cgen's new ins operands feature.
1998-02-13 18:01:19 +00:00
Doug Evans
00aa5b172e
(check_parallel_io_clash): Add #if 0'd out code that uses new operand
...
usage facility.
1998-02-12 01:21:31 +00:00
Nick Clifton
89285fc92b
Add checks for side effects of instructions preventing their parallelisation.
1998-02-04 23:44:58 +00:00
Doug Evans
76090fdd40
fix comment
1998-02-03 23:39:28 +00:00
Doug Evans
55a4759f2b
* config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
...
(m32rx support): only include #ifdef HAVE_CPU_M32RX.
1998-01-29 17:27:49 +00:00
Nick Clifton
5ffc6deeb3
Fuxed sanitization (again!)
1998-01-29 17:27:48 +00:00
Nick Clifton
79420f9af9
Sanitization fixes.
1998-01-29 00:41:46 +00:00
Nick Clifton
ed29580469
Fix determination of when two instructions can be combined in parallel.
1998-01-29 00:29:37 +00:00
Nick Clifton
26192c5084
Detect when explicltly parallel instructions have i/o conflicts and
...
generate warning messages.
1998-01-26 21:09:18 +00:00
Nick Clifton
b6930bdf46
Fixed infinite loop bug in can_make_parallel().
...
Added second level of sanization to remove phase 2 work.
1998-01-26 20:42:15 +00:00
Nick Clifton
775fdd0c3f
Added opportunistic parallelisation of adjacent instructions.
1998-01-21 01:13:47 +00:00
Doug Evans
9121b10214
tweak m32rx sanitization
1998-01-16 00:14:59 +00:00
Nick Clifton
ebde3f6235
Add support for parallel instructions.
1998-01-15 01:58:34 +00:00
Doug Evans
b5e9e5625f
* tc-m32r.c: Clean up pass over `struct foo' usage.
...
(md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
1998-01-12 21:11:35 +00:00
Nick Clifton
a450e9f4d1
Add support for --m32rx command line option.
1997-12-15 23:25:27 +00:00
David Edelsohn
4e9d8deacb
* config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.
...
(md_assemble): Call cgen_asm_init_parse.
Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-10 21:54:15 +00:00
David Edelsohn
c8cf7e1737
* write.c (relax_frag): Make non-static.
...
* write.h (relax_frag): Add prototype for.
* config/tc-m32r.h (md_do_align): New arg `max'.
* config/tc-m32r.c (m32r_do_align): Likewise.
Update calls to frag_align, frag_align_pattern.
(fill_insn): Update call to m32r_do_align.
(m32r_scomm): Update call to frag_align.
1997-04-05 02:34:40 +00:00