RFC: Remove REG_WAS_0.
John David Anglin
dave@hiauly1.hia.nrc.ca
Mon Jun 16 03:38:00 GMT 2003
> VAX port uses REG_WAS_0 in a way that move2add cannot really help, but
> then the port does not seem to be actively maintained.
Heck, I applied a patch to try to fix REG_WAS_0 handling on the vax
only a year and a half ago ;-)
While the `inc' instructions are the most efficient way to load a
register with the value 1 when the register is known to be zero,
I wouldn'd object to REG_WAS_0 removal because it isn't correctly
tracked. The function `follows_p' can also be removed from vax.c
as it is only used by reg_was_0_p.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the Gcc-patches
mailing list