Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
binutils-gdb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastien Michelland
binutils-gdb
Commits
aa260854
Commit
aa260854
authored
19 years ago
by
Jim Blandy
Browse files
Options
Downloads
Patches
Plain Diff
* m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
to represent isa sets.
parent
9a20ed6e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cpu/ChangeLog
+5
-0
5 additions, 0 deletions
cpu/ChangeLog
cpu/m32c.opc
+3
-3
3 additions, 3 deletions
cpu/m32c.opc
with
8 additions
and
3 deletions
cpu/ChangeLog
+
5
−
0
View file @
aa260854
2005-07-16 Jim Blandy <jimb@redhat.com>
* m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
to represent isa sets.
2005-07-15 Jim Blandy <jimb@redhat.com>
* m32c.cpu, m32c.opc: Fix copyright.
...
...
This diff is collapsed.
Click to expand it.
cpu/m32c.opc
+
3
−
3
View file @
aa260854
...
...
@@ -866,14 +866,14 @@ m32c_cgen_insn_supported (CGEN_CPU_DESC cd,
const CGEN_INSN *insn)
{
int machs = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_MACH);
CGEN_BITSET
isas = CGEN_INSN_
BITSET_
ATTR_VALUE (insn, CGEN_INSN_ISA);
int
isas = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_ISA);
/* If attributes are absent, assume no restriction. */
if (machs == 0)
machs = ~0;
return (machs & cd->machs)
&&
cgen_bitset_intersect_p (& isas,
cd->isas);
return
(
(machs & cd->machs)
&&
(isas &
cd->isas)
)
;
}
/* Parse a set of registers, R0,R1,A0,A1,SB,FB. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment