diff mbox

[v14,07/33] target-tilegx: Fix LDNA_ADD_IMM8_OPCODE_X1

Message ID 1440433079-14458-8-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson Aug. 24, 2015, 4:17 p.m. UTC
An obvious typo in the mnemonic here.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-tilegx/opcode_tilegx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Henderson Aug. 24, 2015, 4:43 p.m. UTC | #1
On 08/24/2015 09:29 AM, Peter Maydell wrote:
>> -  LWNA_ADD_IMM8_OPCODE_X1 = 21,
>> +  LDNA_ADD_IMM8_OPCODE_X1 = 21,
>>     MFSPR_IMM8_OPCODE_X1 = 22,
>>     MF_UNARY_OPCODE_X1 = 31,
>>     MM_BF_OPCODE_X0 = 7,
>> --
>> 2.4.3
>
> Should we feed this fix and the one in patch 6 back to
> the kernel?

Probably.


r~
Chris Metcalf Aug. 26, 2015, 5:11 p.m. UTC | #2
I have queued both this and the 06/33 patch in the linux-tile tree as a
single patch for the kernel when the 4.3 merge window opens,
with Richard's Reported-By.  Thanks!

Both of these appear to be cut-and-paste errors from the tilepro
versions of the files.

On 08/24/2015 12:17 PM, Richard Henderson wrote:
> An obvious typo in the mnemonic here.
>
> Signed-off-by: Richard Henderson <rth@twiddle.net>
> ---
>   target-tilegx/opcode_tilegx.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target-tilegx/opcode_tilegx.h b/target-tilegx/opcode_tilegx.h
> index 3b8bf4f..989436d 100644
> --- a/target-tilegx/opcode_tilegx.h
> +++ b/target-tilegx/opcode_tilegx.h
> @@ -1015,7 +1015,7 @@ enum
>     LD_UNARY_OPCODE_X1 = 29,
>     LNK_UNARY_OPCODE_X1 = 30,
>     LNK_UNARY_OPCODE_Y1 = 14,
> -  LWNA_ADD_IMM8_OPCODE_X1 = 21,
> +  LDNA_ADD_IMM8_OPCODE_X1 = 21,
>     MFSPR_IMM8_OPCODE_X1 = 22,
>     MF_UNARY_OPCODE_X1 = 31,
>     MM_BF_OPCODE_X0 = 7,
Peter Maydell Aug. 29, 2015, 2:30 p.m. UTC | #3
On 24 August 2015 at 17:17, Richard Henderson <rth@twiddle.net> wrote:
> An obvious typo in the mnemonic here.
>
> Signed-off-by: Richard Henderson <rth@twiddle.net>
> ---
>  target-tilegx/opcode_tilegx.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM
diff mbox

Patch

diff --git a/target-tilegx/opcode_tilegx.h b/target-tilegx/opcode_tilegx.h
index 3b8bf4f..989436d 100644
--- a/target-tilegx/opcode_tilegx.h
+++ b/target-tilegx/opcode_tilegx.h
@@ -1015,7 +1015,7 @@  enum
   LD_UNARY_OPCODE_X1 = 29,
   LNK_UNARY_OPCODE_X1 = 30,
   LNK_UNARY_OPCODE_Y1 = 14,
-  LWNA_ADD_IMM8_OPCODE_X1 = 21,
+  LDNA_ADD_IMM8_OPCODE_X1 = 21,
   MFSPR_IMM8_OPCODE_X1 = 22,
   MF_UNARY_OPCODE_X1 = 31,
   MM_BF_OPCODE_X0 = 7,