qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5545] CRIS: Correct tcg globals allocation for 64bit hosts.
Date: Sun, 26 Oct 2008 23:18:11 +0000	[thread overview]
Message-ID: <E1KuEs7-0003zf-BG@cvs.savannah.gnu.org> (raw)

Revision: 5545
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5545
Author:   edgar_igl
Date:     2008-10-26 23:18:06 +0000 (Sun, 26 Oct 2008)

Log Message:
-----------
CRIS: Correct tcg globals allocation for 64bit hosts.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

Modified Paths:
--------------
    trunk/target-cris/translate.c

Modified: trunk/target-cris/translate.c
===================================================================
--- trunk/target-cris/translate.c	2008-10-26 20:33:16 UTC (rev 5544)
+++ trunk/target-cris/translate.c	2008-10-26 23:18:06 UTC (rev 5545)
@@ -3347,41 +3347,41 @@
 	cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1");
 #endif
 
-	cc_x = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	cc_x = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 				  offsetof(CPUState, cc_x), "cc_x");
-	cc_src = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	cc_src = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 				    offsetof(CPUState, cc_src), "cc_src");
-	cc_dest = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	cc_dest = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 				     offsetof(CPUState, cc_dest),
 				     "cc_dest");
-	cc_result = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	cc_result = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 				       offsetof(CPUState, cc_result),
 				       "cc_result");
-	cc_op = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	cc_op = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 				   offsetof(CPUState, cc_op), "cc_op");
-	cc_size = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	cc_size = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 				     offsetof(CPUState, cc_size),
 				     "cc_size");
-	cc_mask = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	cc_mask = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 				     offsetof(CPUState, cc_mask),
 				     "cc_mask");
 
-	env_pc = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0, 
+	env_pc = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0, 
 				    offsetof(CPUState, pc),
 				    "pc");
-	env_btarget = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	env_btarget = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 					 offsetof(CPUState, btarget),
 					 "btarget");
-	env_btaken = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+	env_btaken = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 					 offsetof(CPUState, btaken),
 					 "btaken");
 	for (i = 0; i < 16; i++) {
-		cpu_R[i] = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+		cpu_R[i] = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 					      offsetof(CPUState, regs[i]),
 					      regnames[i]);
 	}
 	for (i = 0; i < 16; i++) {
-		cpu_PR[i] = tcg_global_mem_new(TCG_TYPE_PTR, TCG_AREG0,
+		cpu_PR[i] = tcg_global_mem_new(TCG_TYPE_TL, TCG_AREG0,
 					       offsetof(CPUState, pregs[i]),
 					       pregnames[i]);
 	}

             reply	other threads:[~2008-10-26 23:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-26 23:18 Edgar E. Iglesias [this message]
2008-10-27  7:27 ` [Qemu-devel] [5545] CRIS: Correct tcg globals allocation for 64bit hosts Laurent Desnogues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1KuEs7-0003zf-BG@cvs.savannah.gnu.org \
    --to=edgar.iglesias@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).