aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-07-21 10:57:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-07-21 10:57:54 -0700
commitdd40ce22d01afa0676d2eb5163d77ca3262e01f9 (patch)
tree4442ac3c19dd5272ee8379409e77171b05b9f752
parent2376f038d10f901d3e1a2777407f350e4e54d284 (diff)
downloadbinutils-dd40ce22d01afa0676d2eb5163d77ca3262e01f9.zip
binutils-dd40ce22d01afa0676d2eb5163d77ca3262e01f9.tar.gz
binutils-dd40ce22d01afa0676d2eb5163d77ca3262e01f9.tar.bz2
gas/config/tc-i386.c: Break long line
* config/tc-i386.c (match_simd_size): Break long line. (match_mem_size): Likewise.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c10
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