21 Star 27 Fork 151

src-openEuler/gcc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0091-LoongArch-Fix-the-format-of-bstrins_-mode-_for_ior_m.patch 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
ticat_fp 提交于 2024-10-31 10:33 +08:00 . LoongArch: Sync to upstream
From 4d569c5fde85ca426eecf57119048ec25f048758 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao <xry111@xry111.site>
Date: Fri, 29 Dec 2023 20:04:34 +0800
Subject: [PATCH 091/188] LoongArch: Fix the format of
bstrins_<mode>_for_ior_mask condition (NFC)
gcc/ChangeLog:
* config/loongarch/loongarch.md (bstrins_<mode>_for_ior_mask):
For the condition, remove unneeded trailing "\" and move "&&" to
follow GNU coding style. NFC.
---
gcc/config/loongarch/loongarch.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md
index 3c61a0cf4..996df66e8 100644
--- a/gcc/config/loongarch/loongarch.md
+++ b/gcc/config/loongarch/loongarch.md
@@ -1486,8 +1486,8 @@
(match_operand:GPR 2 "const_int_operand"))
(and:GPR (match_operand:GPR 3 "register_operand")
(match_operand:GPR 4 "const_int_operand"))))]
- "loongarch_pre_reload_split () && \
- loongarch_use_bstrins_for_ior_with_mask (<MODE>mode, operands)"
+ "loongarch_pre_reload_split ()
+ && loongarch_use_bstrins_for_ior_with_mask (<MODE>mode, operands)"
"#"
"&& true"
[(set (match_dup 0) (match_dup 1))
--
2.43.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/gcc.git
git@gitee.com:src-openeuler/gcc.git
src-openeuler
gcc
gcc
master

搜索帮助