All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] tricore patches for 2.3-rc2
@ 2015-03-30 11:46 Bastian Koppelmann
  2015-03-30 11:46 ` [Qemu-devel] [PULL] target-tricore: fix CACHEA/I_POSTINC/PREINC using data register Bastian Koppelmann
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bastian Koppelmann @ 2015-03-30 11:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

The following changes since commit 627f91b1f80fecc73d00727181a9ddb6162cc30e:

  Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging (2015-03-28 10:10:04 +0000)

are available in the git repository at:

  https://github.com/bkoppelmann/qemu-tricore-upstream.git tags/pull-tricore-20150330

for you to fetch changes up to f1fdaf552974ee2ef6ec1ba3cf1e18c2951533e1:

  target-tricore: fix CACHEA/I_POSTINC/PREINC using data register.. (2015-03-30 13:39:38 +0200)

----------------------------------------------------------------
TriCore bugfixes

----------------------------------------------------------------
Bastian Koppelmann (1):
      target-tricore: fix CACHEA/I_POSTINC/PREINC using data register..

 target-tricore/translate.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-- 
2.3.4

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

* [Qemu-devel] [PULL] target-tricore: fix CACHEA/I_POSTINC/PREINC using data register..
  2015-03-30 11:46 [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Bastian Koppelmann
@ 2015-03-30 11:46 ` Bastian Koppelmann
  2015-03-30 16:34 ` [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Andreas Färber
  2015-03-31  9:55 ` Peter Maydell
  2 siblings, 0 replies; 5+ messages in thread
From: Bastian Koppelmann @ 2015-03-30 11:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

..for address calculation instead address registers.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
---
 target-tricore/translate.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target-tricore/translate.c b/target-tricore/translate.c
index bbcfee9..54a48cd 100644
--- a/target-tricore/translate.c
+++ b/target-tricore/translate.c
@@ -4509,14 +4509,14 @@ static void decode_bo_addrmode_post_pre_base(CPUTriCoreState *env,
     case OPC2_32_BO_CACHEA_I_POSTINC:
         /* instruction to access the cache, but we still need to handle
            the addressing mode */
-        tcg_gen_addi_tl(cpu_gpr_d[r2], cpu_gpr_d[r2], off10);
+        tcg_gen_addi_tl(cpu_gpr_a[r2], cpu_gpr_a[r2], off10);
         break;
     case OPC2_32_BO_CACHEA_WI_PREINC:
     case OPC2_32_BO_CACHEA_W_PREINC:
     case OPC2_32_BO_CACHEA_I_PREINC:
         /* instruction to access the cache, but we still need to handle
            the addressing mode */
-        tcg_gen_addi_tl(cpu_gpr_d[r2], cpu_gpr_d[r2], off10);
+        tcg_gen_addi_tl(cpu_gpr_a[r2], cpu_gpr_a[r2], off10);
         break;
     case OPC2_32_BO_CACHEI_WI_SHORTOFF:
     case OPC2_32_BO_CACHEI_W_SHORTOFF:
@@ -4526,13 +4526,13 @@ static void decode_bo_addrmode_post_pre_base(CPUTriCoreState *env,
     case OPC2_32_BO_CACHEI_W_POSTINC:
     case OPC2_32_BO_CACHEI_WI_POSTINC:
         if (tricore_feature(env, TRICORE_FEATURE_131)) {
-            tcg_gen_addi_tl(cpu_gpr_d[r2], cpu_gpr_d[r2], off10);
+            tcg_gen_addi_tl(cpu_gpr_a[r2], cpu_gpr_a[r2], off10);
         } /* TODO: else raise illegal opcode trap */
         break;
     case OPC2_32_BO_CACHEI_W_PREINC:
     case OPC2_32_BO_CACHEI_WI_PREINC:
         if (tricore_feature(env, TRICORE_FEATURE_131)) {
-            tcg_gen_addi_tl(cpu_gpr_d[r2], cpu_gpr_d[r2], off10);
+            tcg_gen_addi_tl(cpu_gpr_a[r2], cpu_gpr_a[r2], off10);
         } /* TODO: else raise illegal opcode trap */
         break;
     case OPC2_32_BO_ST_A_SHORTOFF:
-- 
2.3.4

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

* Re: [Qemu-devel] [PULL] tricore patches for 2.3-rc2
  2015-03-30 11:46 [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Bastian Koppelmann
  2015-03-30 11:46 ` [Qemu-devel] [PULL] target-tricore: fix CACHEA/I_POSTINC/PREINC using data register Bastian Koppelmann
@ 2015-03-30 16:34 ` Andreas Färber
  2015-03-30 17:37   ` Bastian Koppelmann
  2015-03-31  9:55 ` Peter Maydell
  2 siblings, 1 reply; 5+ messages in thread
From: Andreas Färber @ 2015-03-30 16:34 UTC (permalink / raw)
  To: Bastian Koppelmann, qemu-devel; +Cc: peter.maydell

Hi Bastian,

Am 30.03.2015 um 13:46 schrieb Bastian Koppelmann:
> Bastian Koppelmann (1):
>       target-tricore: fix CACHEA/I_POSTINC/PREINC using data register..

FYI git-format-patch has a --numbered option that forces [PULL 1/1].

Cheers,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)

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

* Re: [Qemu-devel] [PULL] tricore patches for 2.3-rc2
  2015-03-30 16:34 ` [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Andreas Färber
@ 2015-03-30 17:37   ` Bastian Koppelmann
  0 siblings, 0 replies; 5+ messages in thread
From: Bastian Koppelmann @ 2015-03-30 17:37 UTC (permalink / raw)
  To: Andreas Färber, qemu-devel; +Cc: peter.maydell



On 03/30/2015 06:34 PM, Andreas Färber wrote:
> Hi Bastian,
>
> Am 30.03.2015 um 13:46 schrieb Bastian Koppelmann:
>> Bastian Koppelmann (1):
>>        target-tricore: fix CACHEA/I_POSTINC/PREINC using data register..
> FYI git-format-patch has a --numbered option that forces [PULL 1/1].
Thanks. I'll change it next time :). I didn't know this was necessary.

Cheers,
Bastian

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

* Re: [Qemu-devel] [PULL] tricore patches for 2.3-rc2
  2015-03-30 11:46 [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Bastian Koppelmann
  2015-03-30 11:46 ` [Qemu-devel] [PULL] target-tricore: fix CACHEA/I_POSTINC/PREINC using data register Bastian Koppelmann
  2015-03-30 16:34 ` [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Andreas Färber
@ 2015-03-31  9:55 ` Peter Maydell
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2015-03-31  9:55 UTC (permalink / raw)
  To: Bastian Koppelmann; +Cc: QEMU Developers

On 30 March 2015 at 12:46, Bastian Koppelmann
<kbastian@mail.uni-paderborn.de> wrote:
> The following changes since commit 627f91b1f80fecc73d00727181a9ddb6162cc30e:
>
>   Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging (2015-03-28 10:10:04 +0000)
>
> are available in the git repository at:
>
>   https://github.com/bkoppelmann/qemu-tricore-upstream.git tags/pull-tricore-20150330
>
> for you to fetch changes up to f1fdaf552974ee2ef6ec1ba3cf1e18c2951533e1:
>
>   target-tricore: fix CACHEA/I_POSTINC/PREINC using data register.. (2015-03-30 13:39:38 +0200)
>
> ----------------------------------------------------------------
> TriCore bugfixes
>
> ----------------------------------------------------------------

Applied, thanks.

-- PMM

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

end of thread, other threads:[~2015-03-31  9:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30 11:46 [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Bastian Koppelmann
2015-03-30 11:46 ` [Qemu-devel] [PULL] target-tricore: fix CACHEA/I_POSTINC/PREINC using data register Bastian Koppelmann
2015-03-30 16:34 ` [Qemu-devel] [PULL] tricore patches for 2.3-rc2 Andreas Färber
2015-03-30 17:37   ` Bastian Koppelmann
2015-03-31  9:55 ` Peter Maydell

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.