mbox series

[v8,00/20] target/mips: Add limited support for Ingenic's MXU ASE

Message ID 1540812328-16163-1-git-send-email-aleksandar.markovic@rt-rk.com (mailing list archive)
Headers show
Series target/mips: Add limited support for Ingenic's MXU ASE | expand

Message

Aleksandar Markovic Oct. 29, 2018, 11:25 a.m. UTC
From: Aleksandar Markovic <amarkovic@wavecomp.com>

This patch set begins to add MXU ASE instruction support.

v7->v8:

  - corrected several mistakes in MXU ASE overview note
  - add several clarifying comments
  - rebased to the latest code

v6->v7:

  - move MXU_EN check to the main MXU decoding function
  - amend MXU ASE overview note

v5->v6:

  - added bit definitions for 'aptn1' and 'eptn2'. 
  - pool04 eliminated, since it is covered by a single instruction.
  - moved MUL, S32M2I, S32I2M handling out of main MXU switch.
  - rebased to the latest code (this series applies on top of
    the current MIPS pull request)

v4->v5:

  - added full decoding engine for MXU ASE
  - changes on aptn2, optn2, optn3 are now stand-alone patches
  - all patches on individual instructions are reworked to fit
    new decoding engine, and also cosmetically improved
  - rebased to the latest code

Aleksandar Markovic (8):
  target/mips: Amend MXU instruction opcodes
  target/mips: Add and integrate MXU decoding engine placeholder
  target/mips: Add MXU decoding engine
  target/mips: Add bit encoding for MXU accumulate add/sub 1-bit pattern
    'aptn1'
  target/mips: Add bit encoding for MXU execute add/sub pattern 'eptn2'
  target/mips: Move MUL, S32M2I, S32I2M handling out of main MXU switch
  target/mips: Move MXU_EN check one level higher
  target/mips: Amend MXU ASE overview note

Craig Janeczek (12):
  target/mips: Introduce MXU registers
  target/mips: Define a bit for MXU in insn_flags
  target/mips: Add bit encoding for MXU accumulate add/sub 2-bit pattern
    'aptn2'
  target/mips: Add bit encoding for MXU operand getting pattern 'optn2'
  target/mips: Add bit encoding for MXU operand getting pattern 'optn3'
  target/mips: Add emulation of non-MXU MULL within MXU decoding engine
  target/mips: Add emulation of MXU instructions S32I2M and S32M2I
  target/mips: Add emulation of MXU instruction S8LDD
  target/mips: Add emulation of MXU instruction D16MUL
  target/mips: Add emulation of MXU instruction D16MAC
  target/mips: Add emulation of MXU instructions Q8MUL and Q8MULSU
  target/mips: Add emulation of MXU instructions S32LDD and S32LDDR

 target/mips/cpu.h       |   10 +
 target/mips/mips-defs.h |    1 +
 target/mips/translate.c | 2104 ++++++++++++++++++++++++++++++++++++++++++-----
 3 files changed, 1896 insertions(+), 219 deletions(-)

Comments

Aleksandar Markovic Oct. 29, 2018, 11:30 a.m. UTC | #1
> From: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>
> Subject: [PATCH v8 00/20] target/mips: Add limited support for Ingenic's MXU ASE
> 
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
> 
> This patch set begins to add MXU ASE instruction support.
> 

Craig, do you have any comments/suggestions on this series?

Regards,
Aleksandar

> v7->v8:
> 
>   - corrected several mistakes in MXU ASE overview note
>   - add several clarifying comments
>   - rebased to the latest code
> 
> v6->v7:
> 
>   - move MXU_EN check to the main MXU decoding function
>   - amend MXU ASE overview note
> 
> v5->v6:
> 
>   - added bit definitions for 'aptn1' and 'eptn2'.
>   - pool04 eliminated, since it is covered by a single instruction.
>   - moved MUL, S32M2I, S32I2M handling out of main MXU switch.
>   - rebased to the latest code (this series applies on top of
>     the current MIPS pull request)
> 
> v4->v5:
> 
>   - added full decoding engine for MXU ASE
>   - changes on aptn2, optn2, optn3 are now stand-alone patches
>   - all patches on individual instructions are reworked to fit
>     new decoding engine, and also cosmetically improved
>   - rebased to the latest code
> 
> Aleksandar Markovic (8):
>   target/mips: Amend MXU instruction opcodes
>   target/mips: Add and integrate MXU decoding engine placeholder
>   target/mips: Add MXU decoding engine
>   target/mips: Add bit encoding for MXU accumulate add/sub 1-bit pattern
>     'aptn1'
>   target/mips: Add bit encoding for MXU execute add/sub pattern 'eptn2'
>   target/mips: Move MUL, S32M2I, S32I2M handling out of main MXU switch
>   target/mips: Move MXU_EN check one level higher
>   target/mips: Amend MXU ASE overview note
> 
> Craig Janeczek (12):
>   target/mips: Introduce MXU registers
>   target/mips: Define a bit for MXU in insn_flags
>   target/mips: Add bit encoding for MXU accumulate add/sub 2-bit pattern
>     'aptn2'
>   target/mips: Add bit encoding for MXU operand getting pattern 'optn2'
>   target/mips: Add bit encoding for MXU operand getting pattern 'optn3'
>   target/mips: Add emulation of non-MXU MULL within MXU decoding engine
>   target/mips: Add emulation of MXU instructions S32I2M and S32M2I
>   target/mips: Add emulation of MXU instruction S8LDD
>   target/mips: Add emulation of MXU instruction D16MUL
>   target/mips: Add emulation of MXU instruction D16MAC
>   target/mips: Add emulation of MXU instructions Q8MUL and Q8MULSU
>   target/mips: Add emulation of MXU instructions S32LDD and S32LDDR
> 
>  target/mips/cpu.h       |   10 +
>  target/mips/mips-defs.h |    1 +
>  target/mips/translate.c | 2104 ++++++++++++++++++++++++++++++++++++++++++-----
>  3 files changed, 1896 insertions(+), 219 deletions(-)
> 
> --
> 2.7.4