All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1] tcg-mips queue
@ 2017-05-06 11:03 Aurelien Jarno
  2017-05-06 11:03 ` [Qemu-devel] [PULL 1/1] tcg/mips: fix field extraction opcode Aurelien Jarno
  2017-05-08 17:07 ` [Qemu-devel] [PULL 0/1] tcg-mips queue Stefan Hajnoczi
  0 siblings, 2 replies; 3+ messages in thread
From: Aurelien Jarno @ 2017-05-06 11:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi, Peter Maydell, Aurelien Jarno

The following changes since commit 12a95f320a36ef66f724a49bb05e4fb553ac5dbe:

  Merge remote-tracking branch 'kwolf/tags/for-upstream' into staging (2017-05-04 13:44:32 +0100)

are available in the git repository at:

  git://git.aurel32.net/qemu.git tags/pull-tcg-mips-20170506

for you to fetch changes up to 2f5a5f5774d95baacf86c03aa8a77a2d0390f2b2:

  tcg/mips: fix field extraction opcode (2017-05-06 12:48:53 +0200)

----------------------------------------------------------------
Fix MIPS R2 hosts support

----------------------------------------------------------------

Aurelien Jarno (1):
  tcg/mips: fix field extraction opcode

 tcg/mips/tcg-target.inc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.11.0

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

* [Qemu-devel] [PULL 1/1] tcg/mips: fix field extraction opcode
  2017-05-06 11:03 [Qemu-devel] [PULL 0/1] tcg-mips queue Aurelien Jarno
@ 2017-05-06 11:03 ` Aurelien Jarno
  2017-05-08 17:07 ` [Qemu-devel] [PULL 0/1] tcg-mips queue Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Aurelien Jarno @ 2017-05-06 11:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi, Peter Maydell, Aurelien Jarno

The "msb" argument should correspond to (len - 1).

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 tcg/mips/tcg-target.inc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tcg/mips/tcg-target.inc.c b/tcg/mips/tcg-target.inc.c
index 01ac7b2c81..2a7e1c7f5b 100644
--- a/tcg/mips/tcg-target.inc.c
+++ b/tcg/mips/tcg-target.inc.c
@@ -2093,11 +2093,11 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc,
                          args[3] + args[4] - 1, args[3]);
         break;
     case INDEX_op_extract_i32:
-        tcg_out_opc_bf(s, OPC_EXT, a0, a1, a2 + args[3] - 1, a2);
+        tcg_out_opc_bf(s, OPC_EXT, a0, a1, args[3] - 1, a2);
         break;
     case INDEX_op_extract_i64:
         tcg_out_opc_bf64(s, OPC_DEXT, OPC_DEXTM, OPC_DEXTU, a0, a1,
-                         a2 + args[3] - 1, a2);
+                         args[3] - 1, a2);
         break;
 
     case INDEX_op_brcond_i32:
-- 
2.11.0

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

* Re: [Qemu-devel] [PULL 0/1] tcg-mips queue
  2017-05-06 11:03 [Qemu-devel] [PULL 0/1] tcg-mips queue Aurelien Jarno
  2017-05-06 11:03 ` [Qemu-devel] [PULL 1/1] tcg/mips: fix field extraction opcode Aurelien Jarno
@ 2017-05-08 17:07 ` Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2017-05-08 17:07 UTC (permalink / raw)
  To: Aurelien Jarno; +Cc: qemu-devel, Peter Maydell, Stefan Hajnoczi

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

On Sat, May 06, 2017 at 01:03:32PM +0200, Aurelien Jarno wrote:
> The following changes since commit 12a95f320a36ef66f724a49bb05e4fb553ac5dbe:
> 
>   Merge remote-tracking branch 'kwolf/tags/for-upstream' into staging (2017-05-04 13:44:32 +0100)
> 
> are available in the git repository at:
> 
>   git://git.aurel32.net/qemu.git tags/pull-tcg-mips-20170506
> 
> for you to fetch changes up to 2f5a5f5774d95baacf86c03aa8a77a2d0390f2b2:
> 
>   tcg/mips: fix field extraction opcode (2017-05-06 12:48:53 +0200)
> 
> ----------------------------------------------------------------
> Fix MIPS R2 hosts support
> 
> ----------------------------------------------------------------
> 
> Aurelien Jarno (1):
>   tcg/mips: fix field extraction opcode
> 
>  tcg/mips/tcg-target.inc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> -- 
> 2.11.0
> 
> 

Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

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

end of thread, other threads:[~2017-05-08 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-06 11:03 [Qemu-devel] [PULL 0/1] tcg-mips queue Aurelien Jarno
2017-05-06 11:03 ` [Qemu-devel] [PULL 1/1] tcg/mips: fix field extraction opcode Aurelien Jarno
2017-05-08 17:07 ` [Qemu-devel] [PULL 0/1] tcg-mips queue Stefan Hajnoczi

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.