LoongArch: Fix ICE when explicit-relocs is none

When set -mexplicit-relocs=none, the symbol address should be caclulated
by macro instructions, for example la.local. Due to the condition
TARGET_CMODEL_EXTREME in movdi_symbolic_off64, this template can not be
matched in case the cmodel is normal. If the variable has attribute
model("extreme"), gcc will get crashed with error unrecognizable insns.
This patch fix this issue by removing TARGET_CMODEL_EXTREME, since it
already checked in prediction symbolic_off64_or_reg_operand.

gcc/ChangeLog:

	* config/loongarch/loongarch.md: Remove condition in template
	movdi_symbolic_off64.

gcc/testsuite/ChangeLog:

	* gcc.target/loongarch/attr-model-6.c: New test.

(cherry picked from commit a0ee159bb584855ad2db4563b6e31f88cebe055f)
2 files changed