8sa1-gcc/gcc/doc
Ilya Leoshkevich e52ef6e60d Add input_modes parameter to TARGET_MD_ASM_ADJUST hook
If TARGET_MD_ASM_ADJUST changes a mode of an input operand (which
should be ok as long as the hook itself as well as after_md_seq make up
for it), input_mode will contain stale information.

It might be tempting to fix this by removing input_mode altogether and
just using GET_MODE (), but this will not work correctly with constants.
So add input_modes parameter and document that it should be updated
whenever inputs parameter is updated.

gcc/ChangeLog:

2021-01-05  Ilya Leoshkevich  <iii@linux.ibm.com>

	* cfgexpand.c (expand_asm_loc): Pass new parameter.
	(expand_asm_stmt): Likewise.
	* config/arm/aarch-common-protos.h (arm_md_asm_adjust): Add new
	parameter.
	* config/arm/aarch-common.c (arm_md_asm_adjust): Likewise.
	* config/arm/arm.c (thumb1_md_asm_adjust): Likewise.
	* config/cris/cris.c (cris_md_asm_adjust): Likewise.
	* config/i386/i386.c (ix86_md_asm_adjust): Likewise.
	* config/mn10300/mn10300.c (mn10300_md_asm_adjust): Likewise.
	* config/nds32/nds32.c (nds32_md_asm_adjust): Likewise.
	* config/pdp11/pdp11.c (pdp11_md_asm_adjust): Likewise.
	* config/rs6000/rs6000.c (rs6000_md_asm_adjust): Likewise.
	* config/vax/vax.c (vax_md_asm_adjust): Likewise.
	* config/visium/visium.c (visium_md_asm_adjust): Likewise.
	* doc/tm.texi (md_asm_adjust): Likewise.
	* target.def (md_asm_adjust): Likewise.
2021-03-04 14:33:41 +01:00
..
include
analyzer.texi
avr-mmcu.texi
bugreport.texi
cfg.texi
collect2.texi
compat.texi
configfiles.texi
configterms.texi
contrib.texi
contribute.texi
cpp.texi
cppdiropts.texi
cppenv.texi
cppinternals.texi
cppopts.texi
cppwarnopts.texi
extend.texi
fragments.texi
frontends.texi
gcc.texi
gccint.texi
gcov-dump.texi
gcov-tool.texi
gcov.texi
generic.texi
gimple.texi
gnu.texi
gty.texi
headerdirs.texi
hostconfig.texi
implement-c.texi
implement-cxx.texi
install-old.texi
install.texi
install.texi2html
interface.texi
invoke.texi
languages.texi
libgcc.texi
loop.texi
lto-dump.texi
lto.texi
makefile.texi
match-and-simplify.texi
md.texi
objc.texi
optinfo.texi
options.texi
passes.texi
plugins.texi
poly-int.texi
portability.texi
rtl.texi
service.texi
sourcebuild.texi
standards.texi
tm.texi
tm.texi.in
tree-ssa.texi
trouble.texi
ux.texi