x86: Remove broadcast_not_on_src_operand

Message ID 20180723124546.5395-1-hjl.tools@gmail.com
State New
Headers show
Series
  • x86: Remove broadcast_not_on_src_operand
Related show

Commit Message

H.J. Lu July 23, 2018, 12:45 p.m.
Remove broadcast_not_on_src_operand since it is unused.

	* config/tc-i386.c (i386_error): Remove
	broadcast_not_on_src_operand.
	(match_template): Likewse.
---
 gas/ChangeLog        | 6 ++++++
 gas/config/tc-i386.c | 4 ----
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.17.1

Patch

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8b3624648d..39d627d8fa 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@ 
+2018-07-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/tc-i386.c (i386_error): Remove
+	broadcast_not_on_src_operand.
+	(match_template): Likewse.
+
 2018-07-23  Claudiu Zissulescu <claziss@synopsys.com>
 
 	* testsuite/gas/arc/st.d: Fix test.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 575b017af4..8768d688dd 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -269,7 +269,6 @@  enum i386_error
     invalid_vector_register_set,
     unsupported_vector_index_register,
     unsupported_broadcast,
-    broadcast_not_on_src_operand,
     broadcast_needed,
     unsupported_masking,
     mask_not_on_destination,
@@ -5769,9 +5768,6 @@  check_reverse:
 	case unsupported_broadcast:
 	  err_msg = _("unsupported broadcast");
 	  break;
-	case broadcast_not_on_src_operand:
-	  err_msg = _("broadcast not on source memory operand");
-	  break;
 	case broadcast_needed:
 	  err_msg = _("broadcast is needed for operand of such type");
 	  break;