How to forbid register allocator to overlap bewteen DEST and SOURCE

jiejie_rong@c-sky.com jiejie_rong@c-sky.com
Thu Jul 2 03:40:16 GMT 2020


Hi,

	GCC seems to overlap register bewteen DEST and SOURCE in different machine mode,

	Is there any target hooks to control this feature ?

	I use <Constraint Modifier> ‘&’ to forbid register allocator to overlap bewteen DEST and SOURCE,

	but there are some redundancy instructions in the result code :(

	Thanks a lot

—Jojo


More information about the Gcc mailing list