All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] LoongArch: Add I14 description in documentation
@ 2022-08-10  7:41 Tiezhu Yang
  2022-08-10  7:41 ` [PATCH v3 1/2] docs/LoongArch: Add I14 description Tiezhu Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tiezhu Yang @ 2022-08-10  7:41 UTC (permalink / raw)
  To: Huacai Chen, WANG Xuerui, Jonathan Corbet, Alex Shi, Yanteng Si
  Cc: loongarch, linux-doc

v3: Split into two patches suggested by Yanteng, thank you.

Tiezhu Yang (2):
  docs/LoongArch: Add I14 description
  docs/zh_CN/LoongArch: Add I14 description

 Documentation/loongarch/introduction.rst                    | 2 +-
 Documentation/translations/zh_CN/loongarch/introduction.rst | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.1.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v3 1/2] docs/LoongArch: Add I14 description
  2022-08-10  7:41 [PATCH v3 0/2] LoongArch: Add I14 description in documentation Tiezhu Yang
@ 2022-08-10  7:41 ` Tiezhu Yang
  2022-08-10  7:41 ` [PATCH v3 2/2] docs/zh_CN/LoongArch: " Tiezhu Yang
  2022-08-10 10:03 ` [PATCH v3 0/2] LoongArch: Add I14 description in documentation Huacai Chen
  2 siblings, 0 replies; 4+ messages in thread
From: Tiezhu Yang @ 2022-08-10  7:41 UTC (permalink / raw)
  To: Huacai Chen, WANG Xuerui, Jonathan Corbet, Alex Shi, Yanteng Si
  Cc: loongarch, linux-doc

I14 is also immediate operand, like I8/I12/I16/I21/I26,
add it in the English documentation.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 Documentation/loongarch/introduction.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/loongarch/introduction.rst b/Documentation/loongarch/introduction.rst
index 216b3f3..6c9160c 100644
--- a/Documentation/loongarch/introduction.rst
+++ b/Documentation/loongarch/introduction.rst
@@ -221,7 +221,7 @@ I26         Opcode + I26L + I26H
 =========== ==========================
 
 Rd is the destination register operand, while Rj, Rk and Ra ("a" stands for
-"additional") are the source register operands. I8/I12/I16/I21/I26 are
+"additional") are the source register operands. I8/I12/I14/I16/I21/I26 are
 immediate operands of respective width. The longer I21 and I26 are stored
 in separate higher and lower parts in the instruction word, denoted by the "L"
 and "H" suffixes.
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v3 2/2] docs/zh_CN/LoongArch: Add I14 description
  2022-08-10  7:41 [PATCH v3 0/2] LoongArch: Add I14 description in documentation Tiezhu Yang
  2022-08-10  7:41 ` [PATCH v3 1/2] docs/LoongArch: Add I14 description Tiezhu Yang
@ 2022-08-10  7:41 ` Tiezhu Yang
  2022-08-10 10:03 ` [PATCH v3 0/2] LoongArch: Add I14 description in documentation Huacai Chen
  2 siblings, 0 replies; 4+ messages in thread
From: Tiezhu Yang @ 2022-08-10  7:41 UTC (permalink / raw)
  To: Huacai Chen, WANG Xuerui, Jonathan Corbet, Alex Shi, Yanteng Si
  Cc: loongarch, linux-doc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=yes, Size: 1349 bytes --]

I14 is also immediate operand, like I8/I12/I16/I21/I26,
add it in the Chinese documentation.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 Documentation/translations/zh_CN/loongarch/introduction.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/translations/zh_CN/loongarch/introduction.rst b/Documentation/translations/zh_CN/loongarch/introduction.rst
index 11686ee..128878f 100644
--- a/Documentation/translations/zh_CN/loongarch/introduction.rst
+++ b/Documentation/translations/zh_CN/loongarch/introduction.rst
@@ -190,8 +190,8 @@ I26         Opcode + I26L + I26H
 =========== ==========================
 
 Opcode是指令操作码,Rj和Rk是源操作数(寄存器),Rd是目标操作数(寄存器),Ra是
-4R-type格式特有的附加操作数(寄存器)。I8/I12/I16/I21/I26分别是8位/12位/16位/
-21位/26位的立即数。其中较长的21位和26位立即数在指令字中被分割为高位部分与低位
+4R-type格式特有的附加操作数(寄存器)。I8/I12/I14/I16/I21/I26分别是8位/12位/14位/
+16位/21位/26位的立即数。其中较长的21位和26位立即数在指令字中被分割为高位部分与低位
 部分,所以你们在这里的格式描述中能够看到I21L/I21H和I26L/I26H这样带后缀的表述。
 
 指令列表
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v3 0/2] LoongArch: Add I14 description in documentation
  2022-08-10  7:41 [PATCH v3 0/2] LoongArch: Add I14 description in documentation Tiezhu Yang
  2022-08-10  7:41 ` [PATCH v3 1/2] docs/LoongArch: Add I14 description Tiezhu Yang
  2022-08-10  7:41 ` [PATCH v3 2/2] docs/zh_CN/LoongArch: " Tiezhu Yang
@ 2022-08-10 10:03 ` Huacai Chen
  2 siblings, 0 replies; 4+ messages in thread
From: Huacai Chen @ 2022-08-10 10:03 UTC (permalink / raw)
  To: Tiezhu Yang
  Cc: WANG Xuerui, Jonathan Corbet, Alex Shi, Yanteng Si, loongarch,
	open list:DOCUMENTATION

Queued for loongarch-next, thanks.

Huacai

On Wed, Aug 10, 2022 at 3:41 PM Tiezhu Yang <yangtiezhu@loongson.cn> wrote:
>
> v3: Split into two patches suggested by Yanteng, thank you.
>
> Tiezhu Yang (2):
>   docs/LoongArch: Add I14 description
>   docs/zh_CN/LoongArch: Add I14 description
>
>  Documentation/loongarch/introduction.rst                    | 2 +-
>  Documentation/translations/zh_CN/loongarch/introduction.rst | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> --
> 2.1.0
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-10 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10  7:41 [PATCH v3 0/2] LoongArch: Add I14 description in documentation Tiezhu Yang
2022-08-10  7:41 ` [PATCH v3 1/2] docs/LoongArch: Add I14 description Tiezhu Yang
2022-08-10  7:41 ` [PATCH v3 2/2] docs/zh_CN/LoongArch: " Tiezhu Yang
2022-08-10 10:03 ` [PATCH v3 0/2] LoongArch: Add I14 description in documentation Huacai Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.