This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] gas/config/tc-i386.c: Break long line
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 21 Jul 2018 17:58:56 -0000
- Subject: [binutils-gdb] gas/config/tc-i386.c: Break long line
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dd40ce22d01afa0676d2eb5163d77ca3262e01f9
commit dd40ce22d01afa0676d2eb5163d77ca3262e01f9
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sat Jul 21 10:57:54 2018 -0700
gas/config/tc-i386.c: Break long line
* config/tc-i386.c (match_simd_size): Break long line.
(match_mem_size): Likewise.
Diff:
---
gas/ChangeLog | 5 +++++
gas/config/tc-i386.c | 10 ++++++----
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bee9664..3253a9f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2018-07-20 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (match_simd_size): Break long line.
+ (match_mem_size): Likewise.
+
+2018-07-20 H.J. Lu <hongjiu.lu@intel.com>
+
* config/tc-i386.c (match_reg_size): Renamed to ...
(match_operand_size): This. Update comments.
(match_simd_size): Update comments. Replace match_reg_size
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 02de778..c4ccffc 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1916,11 +1916,12 @@ match_operand_size (const insn_template *t, unsigned int wanted,
&& !t->operand_types[wanted].bitfield.tbyte));
}
-/* Return 1 if there is no conflict in SIMD register between operand GIVEN
- and opeand WANTED for instruction template T. */
+/* Return 1 if there is no conflict in SIMD register between operand
+ GIVEN and opeand WANTED for instruction template T. */
static INLINE int
-match_simd_size (const insn_template *t, unsigned int wanted, unsigned int given)
+match_simd_size (const insn_template *t, unsigned int wanted,
+ unsigned int given)
{
return !((i.types[given].bitfield.xmmword
&& !t->operand_types[wanted].bitfield.xmmword)
@@ -1934,7 +1935,8 @@ match_simd_size (const insn_template *t, unsigned int wanted, unsigned int given
and opeand WANTED for instruction template T. */
static INLINE int
-match_mem_size (const insn_template *t, unsigned int wanted, unsigned int given)
+match_mem_size (const insn_template *t, unsigned int wanted,
+ unsigned int given)
{
return (match_operand_size (t, wanted, given)
&& !((i.types[given].bitfield.unspecified