tests/machine-none: Test recent MIPS cpus
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
@@ -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
Quoted 8 lines · Philippe Mathieu-Daudé
The MIPS I7200 got added in commit
d45942d908e, and the I6500 in commitca1ffd14ed8.
Extend the coverage on the little-endian machines. The 4Kc and 20Kc are still covered by the big-endian machines.Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
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@@ -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
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 commitca1ffd14ed8.
Extend the coverage on the little-endian machines. The 4Kc and 20Kc are still covered by the big-endian machines.Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
Reviewed-by Aleksandar Markovic <[email protected]>
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@@ -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