Jiong Wang cc4a945a26 [ARM] Don't warn on REG_SP when used in CRC32 instructions
According to ARMv8-A architecture manual, REG_SP is allowed in CRC32
instructions in Thumb mode.  It is REG_PC that will cause unpredictable
behaviours on both ARM and Thumb.

This patch removes the incorrect warning on Thumb mode.

Meanwhile the disassembler is updated to use format "<bitfield>R" instead of
"<bitfield>S".  "<bitfield>S" is not used elsewhere. so I have deleted related
code from the disassembler.

gas/
	* config/tc-arm.c (do_crc32_1): Remove warning on REG_SP for thumb_mode.
	* testsuite/gas/arm/crc32-armv8-a-bad.d: Update exepcted result.
	* testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
	* testsuite/gas/arm/crc32-armv8-a.d: Likewise.
	* testsuite/gas/arm/crc32-armv8-r.d: Likewise.
	* testsuite/gas/arm/crc32-armv8-ar-bad.s: Update test case.
	* testsuite/gas/arm/crc32-armv8-ar.s: Likewise.
	* testsuite/gas/arm/crc32-bad.l: Update expected error message.

opcode/
	* arm-dis.c (thumb32_opcodes): Use format 'R' instead of 'S' for
	register operands in CRC instructions.
	(print_insn_thumb32): Remove "<bitfield>S" support.  Updated the
	comments.
2017-08-09 17:52:54 +01:00
..
2017-07-18 16:58:14 +01:00
2017-05-10 14:42:22 +02:00
2017-07-19 09:56:55 +02:00
2017-07-11 19:18:06 +09:30
2016-01-01 22:59:17 +10:30
2017-01-02 13:55:05 +10:30
2017-07-04 11:15:33 +02:00
2017-06-14 16:29:01 +01:00
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-18 16:58:14 +01:00
2017-05-22 11:02:58 -07:00
2017-05-22 11:02:58 -07:00
2017-06-14 16:29:01 +01:00
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-07-11 19:18:06 +09:30
2017-04-22 17:45:50 +09:30
2017-06-23 09:23:58 -07:00
2017-06-17 00:03:02 +09:30
2017-07-21 10:54:06 +02:00
2017-06-01 15:06:17 +02:00
2017-06-14 16:29:01 +01:00