Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Commit

Permalink
Update tc-riscv.c
Browse files Browse the repository at this point in the history
  • Loading branch information
pz9115 committed Apr 8, 2021
1 parent 41b5aa9 commit 1f98bde
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gas/config/tc-riscv.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,15 +361,15 @@ riscv_multi_subset_supports (enum riscv_insn_class insn_class)
return riscv_subset_supports ("zbs");
case INSN_CLASS_ZBT:
return riscv_subset_supports ("zbt");
case INSN_CLASS_ZBB_OR_INSN_CLASS_ZBP:
case INSN_CLASS_ZBB_OR_ZBP:
return (riscv_subset_supports ("zbb") || riscv_subset_supports ("zbp"));
case INSN_CLASS_ZBS_OR_INSN_CLASS_ZBE:
case INSN_CLASS_ZBS_OR_ZBE:
return (riscv_subset_supports ("zbs") || riscv_subset_supports ("zbe"));
case INSN_CLASS_ZBP_OR_INSN_CLASS_ZBM:
case INSN_CLASS_ZBP_OR_ZBM:
return (riscv_subset_supports ("zbp") || riscv_subset_supports ("zbm"));
case INSN_CLASS_ZBP_OR_INSN_CLASS_ZBE_OR_INSN_CLASS_ZBF:
case INSN_CLASS_ZBP_OR_ZBE_OR_ZBF:
return (riscv_subset_supports ("zbp") || riscv_subset_supports ("zbe") || riscv_subset_supports ("zbf"));
case INSN_CLASS_ZBP_OR_INSN_CLASS_ZBE_OR_INSN_CLASS_ZBF_OR_INSN_CLASS_ZBM:
case INSN_CLASS_ZBP_OR_ZBE_OR_ZBF_OR_ZBM:
return (riscv_subset_supports ("zbp") || riscv_subset_supports ("zbe") || riscv_subset_supports ("zbf") || riscv_subset_supports ("zbm"));
default:
as_fatal ("internal: unreachable");
Expand Down

0 comments on commit 1f98bde

Please sign in to comment.