Module Name: src Committed By: kalvisd Date: Sun Sep 29 11:45:32 UTC 2024
Modified Files: src/external/gpl3/gcc/dist/gcc: rtlanal.cc target.def targhooks.cc targhooks.h src/external/gpl3/gcc/dist/gcc/config/vax: vax.cc src/external/gpl3/gcc/dist/gcc/doc: tm.texi tm.texi.in Log Message: gcc: vax: indicate to GCC that bitfield instructions may trap on VAX Bitfield instructions will generate a reserved operand fault if the operands are not reasonable (size > 32, position > 31 and size not zero and field in a register). GCC generates code to test for these conditions but in certain circumstances, the optimiser may decide that a bitfield extraction instruction is invariant and move it ahead of the instructions testing its arguments. Introduce a new target hook to indicate to GCC that a bitfield instruction may trap and update may_trap_p_1() OK rin@ To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gcc/dist/gcc/rtlanal.cc cvs rdiff -u -r1.1.1.11 -r1.2 src/external/gpl3/gcc/dist/gcc/target.def \ src/external/gpl3/gcc/dist/gcc/targhooks.h cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/targhooks.cc cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/dist/gcc/config/vax/vax.cc cvs rdiff -u -r1.1.1.14 -r1.2 src/external/gpl3/gcc/dist/gcc/doc/tm.texi cvs rdiff -u -r1.1.1.13 -r1.2 src/external/gpl3/gcc/dist/gcc/doc/tm.texi.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.