Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
binutils-gdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
binutils-gdb
Commits
db12e14e
Commit
db12e14e
authored
Mar 08, 2018
by
Jan Beulich
Committed by
Jan Beulich
Mar 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: drop CPU_FLAGS_32BIT_MATCH
It has become a plain alias of CPU_FLAGS_ARCH_MATCH now.
parent
b9d49817
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
gas/ChangeLog
gas/ChangeLog
+6
-0
gas/config/tc-i386.c
gas/config/tc-i386.c
+4
-5
No files found.
gas/ChangeLog
View file @
db12e14e
2018-03-08 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
(cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
CPU_FLAGS_32BIT_MATCH.
2018-03-08 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
...
...
gas/config/tc-i386.c
View file @
db12e14e
...
...
@@ -1688,9 +1688,8 @@ cpu_flags_and_not (i386_cpu_flags x, i386_cpu_flags y)
#define CPU_FLAGS_ARCH_MATCH 0x1
#define CPU_FLAGS_64BIT_MATCH 0x2
#define CPU_FLAGS_32BIT_MATCH CPU_FLAGS_ARCH_MATCH
#define CPU_FLAGS_PERFECT_MATCH \
(CPU_FLAGS_
32BIT
_MATCH | CPU_FLAGS_64BIT_MATCH)
(CPU_FLAGS_
ARCH
_MATCH | CPU_FLAGS_64BIT_MATCH)
/* Return CPU flags match bits. */
...
...
@@ -1706,7 +1705,7 @@ cpu_flags_match (const insn_template *t)
if
(
cpu_flags_all_zero
(
&
x
))
{
/* This instruction is available on all archs. */
match
|=
CPU_FLAGS_
32BIT
_MATCH
;
match
|=
CPU_FLAGS_
ARCH
_MATCH
;
}
else
{
...
...
@@ -1733,11 +1732,11 @@ cpu_flags_match (const insn_template *t)
/* Need another match. */
cpu
.
bitfield
.
cpuavx512vl
=
0
;
if
(
!
cpu_flags_all_zero
(
&
cpu
))
match
|=
CPU_FLAGS_
32BIT
_MATCH
;
match
|=
CPU_FLAGS_
ARCH
_MATCH
;
}
}
else
match
|=
CPU_FLAGS_
32BIT
_MATCH
;
match
|=
CPU_FLAGS_
ARCH
_MATCH
;
}
}
return
match
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment