Skip to contentSkip to conversation

tests/machine-none: Test recent MIPS cpus

PATCH In review Philippe Mathieu-Daudé 2 participants 3 messages Jul 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/machine-none: Test recent MIPS cpus

The MIPS I7200 got added in commit d45942d908e, and the I6500 in commit ca1ffd14ed8.
Extend the coverage on the little-endian machines. The 4Kc and 20Kc are still covered by the big-endian machines.

---
 tests/machine-none-test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/machine-none-test.c +2 -2
index 4c6d470798..5953d31755 100644
@@ -36,9 +36,9 @@ static struct arch2cpu cpus_map[] = {
     /* FIXME: { "microblaze", "any" }, doesn't work with -M none -cpu any */
     /* FIXME: { "microblazeel", "any" }, doesn't work with -M none -cpu any */
     { "mips", "4Kc" },
-    { "mipsel", "4Kc" },
+    { "mipsel", "I7200" },
     { "mips64", "20Kc" },
-    { "mips64el", "20Kc" },
+    { "mips64el", "I6500" },
     { "moxie", "MoxieLite" },
     { "nios2", "FIXME" },
     { "or1k", "or1200" },
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Philippe Mathieu-Daudé

The MIPS I7200 got added in commit d45942d908e, and the I6500 in commit ca1ffd14ed8.
Extend the coverage on the little-endian machines. The 4Kc and 20Kc are still covered by the big-endian machines.

---

tests/machine-none-test.c static struct arch2cpu cpus_map[] = { · line 36

Quoted 9 lines
 tests/machine-none-test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/machine-none-test.c +0 -0
index 4c6d470798..5953d31755 100644
@@ -36,9 +36,9 @@ static struct arch2cpu cpus_map[] = {
     /* FIXME: { "microblaze", "any" }, doesn't work with -M none -cpu

any */

tests/machine-none-test.c static struct arch2cpu cpus_map[] = { · line 37

Quoted 1 line
tests/machine-none-test.c +0 -0
     /* FIXME: { "microblazeel", "any" }, doesn't work with -M none -cpu

any */

Quoted 13 lines
tests/machine-none-test.c +2 -3
     { "mips", "4Kc" },
-    { "mipsel", "4Kc" },
+    { "mipsel", "I7200" },
     { "mips64", "20Kc" },
-    { "mips64el", "20Kc" },
+    { "mips64el", "I6500" },
     { "moxie", "MoxieLite" },
     { "nios2", "FIXME" },
     { "or1k", "or1200" },
--

2.20.1

#2 lore raw
Quoted 3 lines · Aleksandar Markovic

On Jul 1, 2019 4:45 PM, "Philippe Mathieu-Daudé" <[email protected]>

Quoted 11 lines · wrote:
Quoted 8 lines

The MIPS I7200 got added in commit d45942d908e, and the I6500 in commit ca1ffd14ed8.
Extend the coverage on the little-endian machines. The 4Kc and 20Kc are still covered by the big-endian machines.

---

If nobody objects, I am going to select this patch for mips queue scheduled tomorrow.

Thanks!

Aleksandar

Quoted 9 lines

tests/machine-none-test.c static struct arch2cpu cpus_map[] = { · line 36

Quoted 9 lines
 tests/machine-none-test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/machine-none-test.c +0 -0
index 4c6d470798..5953d31755 100644
@@ -36,9 +36,9 @@ static struct arch2cpu cpus_map[] = {
     /* FIXME: { "microblaze", "any" }, doesn't work with -M none -cpu

any */

Quoted 1 line

tests/machine-none-test.c static struct arch2cpu cpus_map[] = { · line 37

Quoted 1 line
tests/machine-none-test.c +0 -0
     /* FIXME: { "microblazeel", "any" }, doesn't work with -M none

-cpu any */

Quoted 13 lines
Quoted 13 lines
tests/machine-none-test.c +2 -3
     { "mips", "4Kc" },
-    { "mipsel", "4Kc" },
+    { "mipsel", "I7200" },
     { "mips64", "20Kc" },
-    { "mips64el", "20Kc" },
+    { "mips64el", "I6500" },
     { "moxie", "MoxieLite" },
     { "nios2", "FIXME" },
     { "or1k", "or1200" },
--

2.20.1