Skip to contentSkip to conversation

target-ppc: Add a new user mode target for little-endian PPC64.

PATCH Tom Musta 2 participants 4 messages Jun 2, 2014 – Jun 3, 2014 2 messages not in the archive

lore
Share & tools
lore

Tom Musta

author
#2 lore raw
In reply to a message not in the archive
Quoted 19 lines · Tom Musta

From: Doug Kwan <[email protected]>

---
V3: Addressing comment from Peter Maydell. Adding libdecnumber enable.

 configure |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
configure +0 -0
index 0e516f9..3ccbe4b 100755
@@ -4930,6 +4930,12 @@ case "$target_name" in
     TARGET_ABI_DIR=ppc
     gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"

configure case "$target_name" in · line 4941

Quoted 10 lines
configure +6 -0
   ;;
+  ppc64le)
+    TARGET_ARCH=ppc64
+    TARGET_BASE_ARCH=ppc
+    TARGET_ABI_DIR=ppc
+    gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
+  ;;
   ppc64abi32)
     TARGET_ARCH=ppc64
     TARGET_BASE_ARCH=ppc

Alex: I'm afraid I dropped part of this patch (the part that creates a new default-configs/ppc64le-linux-user.mak file).

Since you have taken this into ppc-next, do you want a single small patch that adds this in? Or do you want me to fix and resubmit a complete V5?

#3 lore raw
Quoted 32 lines · Tom Musta
Quoted 19 lines · Tom Musta

From: Doug Kwan <[email protected]>

---
V3: Addressing comment from Peter Maydell. Adding libdecnumber enable.

  configure |    6 ++++++
  1 files changed, 6 insertions(+), 0 deletions(-)
configure +0 -0
index 0e516f9..3ccbe4b 100755
@@ -4930,6 +4930,12 @@ case "$target_name" in
      TARGET_ABI_DIR=ppc
      gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"

configure case "$target_name" in · line 4941

Quoted 10 lines
configure +6 -0
    ;;
+  ppc64le)
+    TARGET_ARCH=ppc64
+    TARGET_BASE_ARCH=ppc
+    TARGET_ABI_DIR=ppc
+    gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
+  ;;
    ppc64abi32)
      TARGET_ARCH=ppc64
      TARGET_BASE_ARCH=ppc

Alex: I'm afraid I dropped part of this patch (the part that creates a new default-configs/ppc64le-linux-user.mak file).

Quoted 1 line

Since you have taken this into ppc-next, do you want a single small patch that adds this in? Or do you want me to fix and resubmit a complete V5?

You can either send just a new patch 3/6 and I replace the one in my queue or a patch on top.

Alex

author
#4 lore raw
Quoted 1 line · Alexander Graf

You can either send just a new patch 3/6 and I replace the one in my queue or a patch on top.

From: Doug Kwan <[email protected]>
Date: Thu, 15 May 2014 15:54:55 -0500
Subject: [V4 PATCH (resend) 3/6] target-ppc: Add a new user mode target for little-endian PPC64.

---
V3: Addressing comment from Peter Maydell. Adding libdecnumber enable.

 configure                              |    6 ++++++
 default-configs/ppc64le-linux-user.mak |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 default-configs/ppc64le-linux-user.mak
configure +6 -0
index 0e516f9..3ccbe4b 100755
@@ -4930,6 +4930,12 @@ case "$target_name" in
     TARGET_ABI_DIR=ppc
     gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
   ;;
+  ppc64le)
+    TARGET_ARCH=ppc64
+    TARGET_BASE_ARCH=ppc
+    TARGET_ABI_DIR=ppc
+    gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
+  ;;
   ppc64abi32)
     TARGET_ARCH=ppc64
     TARGET_BASE_ARCH=ppc
default-configs/ppc64le-linux-user.mak new file +3 -0
new file mode 100644
index 0000000..cf99ced
@@ -0,0 +1,3 @@
+# Default configuration for ppc64le-linux-user
+CONFIG_LIBDECNUMBER=y
+
Signature · 1 line
1.7.1