From 5e2ba8e51037e2a7d26d34e13c3381c3a4de2814 Mon Sep 17 00:00:00 2001
From: George Hotz <geohot@gmail.com>
Date: Thu, 30 Sep 2021 10:06:21 -0700
Subject: [PATCH] no dsp extensions

---
 mipsevm/test/bin/madd.bin  | Bin 116 -> 0 bytes
 mipsevm/test/bin/maddu.bin | Bin 116 -> 0 bytes
 mipsevm/test/bin/msub.bin  | Bin 116 -> 0 bytes
 mipsevm/test/bin/msubu.bin | Bin 116 -> 0 bytes
 mipsevm/test/madd.asm      |  57 -------------------------------------
 mipsevm/test/maddu.asm     |  57 -------------------------------------
 mipsevm/test/msub.asm      |  57 -------------------------------------
 mipsevm/test/msubu.asm     |  56 ------------------------------------
 8 files changed, 227 deletions(-)
 delete mode 100644 mipsevm/test/bin/madd.bin
 delete mode 100644 mipsevm/test/bin/maddu.bin
 delete mode 100644 mipsevm/test/bin/msub.bin
 delete mode 100644 mipsevm/test/bin/msubu.bin
 delete mode 100644 mipsevm/test/madd.asm
 delete mode 100644 mipsevm/test/maddu.asm
 delete mode 100644 mipsevm/test/msub.asm
 delete mode 100644 mipsevm/test/msubu.asm

diff --git a/mipsevm/test/bin/madd.bin b/mipsevm/test/bin/madd.bin
deleted file mode 100644
index 1a3ad7a63fdc51a2e70cc88e4396e7bed83ad36a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 116
zcmY$9zqgh_{tttV!2bVc0{=gl2r@9*a0r>0a)edba2{YZ)jajjhRe{=)GJbr(Sbn_
zh=mI|8Gs-{fPo=F$c9&Ei|N`FZ5zJF4^7WqF=NcFP-g5qpsf3dfl;5Cfsw&kKxG{h
Q1IIc+1{UTA3>+Yx0B49DFaQ7m

diff --git a/mipsevm/test/bin/maddu.bin b/mipsevm/test/bin/maddu.bin
deleted file mode 100644
index b03db7d18d02ee02085abbb31263494924b70bcc..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 116
zcmY$9zqgh_{tttV!2bVc0{=gl2r@9*a0r>0a)edba2{YZ)jajjhRe{=)GJbr(Sbn_
zh=mI|85kKDA_N#15`=7c?OvF!-L=?;@9{&^b63n5b1Re?`wl4UK4M_hX9lWs7EoEo
S#K5smkb#By0RsmE5C8y~$sR=j

diff --git a/mipsevm/test/bin/msub.bin b/mipsevm/test/bin/msub.bin
deleted file mode 100644
index ef2271c86e663fffe34e750429999cdcb5fea950..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 116
zcmY$9zqgh_{tttV!2bVc0{=gl2r@9*a0r>0a)edba2{YZ)jajjhRe{=)GJbr(Sbn_
zh=mI|8CVz?A_N#15`=7cP0yLG^;59nt6N}t?w%N9ZiO;q-vMRaM+}Vm%nXbS&H^gy
Sm>4+L2{N!SKVaZs00IC@HXM2Y

diff --git a/mipsevm/test/bin/msubu.bin b/mipsevm/test/bin/msubu.bin
deleted file mode 100644
index f113a2039e0688db99169d9d7e16eeb1419fa749..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 116
zcmY$9zqgh_{tttV!2bVc0{=gl2r@9*a0r>0a)edba2{YZ)jajjhRe{=)GJbr(Sbn_
zh=mI|8CV$@A_N#15`=7cm1ml+{l3D6uWo_qxqD)axfRNceFv0vA2BfMGczzUI18w(
SV`AV~C&<9U{D6Uj0SEwe5FKRz

diff --git a/mipsevm/test/madd.asm b/mipsevm/test/madd.asm
deleted file mode 100644
index a38e97344..000000000
--- a/mipsevm/test/madd.asm
+++ /dev/null
@@ -1,57 +0,0 @@
-###############################################################################
-# File         : madd.asm
-# Project      : MIPS32 MUX
-# Author:      : Grant Ayers (ayers@cs.stanford.edu)
-#
-# Standards/Formatting:
-#   MIPS gas, soft tab, 80 column
-#
-# Description:
-#   Test the functionality of the 'madd' instruction.
-#
-###############################################################################
-
-
-    .section .test, "x"
-    .balign 4
-    .set    noreorder
-    .global test
-    .ent    test
-test:
-    lui     $s0, 0xbfff         # Load the base address 0xbffffff0
-    ori     $s0, 0xfff0
-    ori     $s1, $0, 1          # Prepare the 'done' status
-
-    #### Test code start ####
-
-    lui     $t0, 0x1234         # Multiply A 0x12345678
-    ori     $t0, 0x5678
-    lui     $t1, 0xc001         # Multiply B 0xc001cafe
-    ori     $t1, 0xcafe
-    lui     $t2, 0x3141         # Fused sum 0x3141592631415926
-    ori     $t2, 0x5926
-    mthi    $t2
-    mtlo    $t2
-    madd    $t0, $t1            # 0x2cb4642be3e1d436
-    mfhi    $t3
-    mflo    $t4
-    lui     $t5, 0x2cb4
-    ori     $t5, 0x642b
-    lui     $t6, 0xe3e1
-    ori     $t6, 0xd436
-    subu    $t7, $t3, $t5
-    subu    $t8, $t4, $t6
-    sltiu   $v0, $t7, 1
-    sltiu   $v1, $t8, 1
-    and     $v0, $v0, $v1
-
-    #### Test code end ####
-
-    sw      $v0, 8($s0)         # Set the test result
-    sw      $s1, 4($s0)         # Set 'done'
-
-$done:
-    jr      $ra
-    nop
-
-    .end test
diff --git a/mipsevm/test/maddu.asm b/mipsevm/test/maddu.asm
deleted file mode 100644
index 9de0a1e04..000000000
--- a/mipsevm/test/maddu.asm
+++ /dev/null
@@ -1,57 +0,0 @@
-###############################################################################
-# File         : maddu.asm
-# Project      : MIPS32 MUX
-# Author:      : Grant Ayers (ayers@cs.stanford.edu)
-#
-# Standards/Formatting:
-#   MIPS gas, soft tab, 80 column
-#
-# Description:
-#   Test the functionality of the 'maddu' instruction.
-#
-###############################################################################
-
-
-    .section .test, "x"
-    .balign 4
-    .set    noreorder
-    .global test
-    .ent    test
-test:
-    lui     $s0, 0xbfff         # Load the base address 0xbffffff0
-    ori     $s0, 0xfff0
-    ori     $s1, $0, 1          # Prepare the 'done' status
-
-    #### Test code start ####
-
-    lui     $t0, 0x1234         # Multiply A 0x12345678
-    ori     $t0, 0x5678
-    lui     $t1, 0xc001         # Multiply B 0xc001cafe
-    ori     $t1, 0xcafe
-    lui     $t2, 0x3141         # Fused sum 0x3141592631415926
-    ori     $t2, 0x5926
-    mthi    $t2
-    mtlo    $t2
-    maddu   $t0, $t1            # 0x3ee8baa3e3e1d436
-    mfhi    $t3
-    mflo    $t4
-    lui     $t5, 0x3ee8
-    ori     $t5, 0xbaa3
-    lui     $t6, 0xe3e1
-    ori     $t6, 0xd436
-    subu    $t7, $t3, $t5
-    subu    $t8, $t4, $t6
-    sltiu   $v0, $t7, 1
-    sltiu   $v1, $t8, 1
-    and     $v0, $v0, $v1
-
-    #### Test code end ####
-
-    sw      $v0, 8($s0)         # Set the test result
-    sw      $s1, 4($s0)         # Set 'done'
-
-$done:
-    jr      $ra
-    nop
-
-    .end test
diff --git a/mipsevm/test/msub.asm b/mipsevm/test/msub.asm
deleted file mode 100644
index 998c8ad62..000000000
--- a/mipsevm/test/msub.asm
+++ /dev/null
@@ -1,57 +0,0 @@
-###############################################################################
-# File         : msub.asm
-# Project      : MIPS32 MUX
-# Author:      : Grant Ayers (ayers@cs.stanford.edu)
-#
-# Standards/Formatting:
-#   MIPS gas, soft tab, 80 column
-#
-# Description:
-#   Test the functionality of the 'msub' instruction.
-#
-###############################################################################
-
-
-    .section .test, "x"
-    .balign 4
-    .set    noreorder
-    .global test
-    .ent    test
-test:
-    lui     $s0, 0xbfff         # Load the base address 0xbffffff0
-    ori     $s0, 0xfff0
-    ori     $s1, $0, 1          # Prepare the 'done' status
-
-    #### Test code start ####
-
-    lui     $t0, 0x1234         # Multiply A 0x12345678
-    ori     $t0, 0x5678
-    lui     $t1, 0xc001         # Multiply B 0xc001cafe
-    ori     $t1, 0xcafe
-    lui     $t2, 0x3141         # Fused sum 0x3141592631415926
-    ori     $t2, 0x5926
-    mthi    $t2
-    mtlo    $t2
-    msub    $t0, $t1            # 0x35ce4e207ea0de16
-    mfhi    $t3
-    mflo    $t4
-    lui     $t5, 0x35ce
-    ori     $t5, 0x4e20
-    lui     $t6, 0x7ea0
-    ori     $t6, 0xde16
-    subu    $t7, $t3, $t5
-    subu    $t8, $t4, $t6
-    sltiu   $v0, $t7, 1
-    sltiu   $v1, $t8, 1
-    and     $v0, $v0, $v1
-
-    #### Test code end ####
-
-    sw      $v0, 8($s0)         # Set the test result
-    sw      $s1, 4($s0)         # Set 'done'
-
-$done:
-    jr      $ra
-    nop
-
-    .end test
diff --git a/mipsevm/test/msubu.asm b/mipsevm/test/msubu.asm
deleted file mode 100644
index 3cad6f40d..000000000
--- a/mipsevm/test/msubu.asm
+++ /dev/null
@@ -1,56 +0,0 @@
-###############################################################################
-# File         : msubu.asm
-# Project      : MIPS32 MUX
-# Author:      : Grant Ayers (ayers@cs.stanford.edu)
-#
-# Standards/Formatting:
-#   MIPS gas, soft tab, 80 column
-#
-# Description:
-#   Test the functionality of the 'msubu' instruction.
-#
-###############################################################################
-
-    .section .test, "x"
-    .balign 4
-    .set    noreorder
-    .global test
-    .ent    test
-test:
-    lui     $s0, 0xbfff         # Load the base address 0xbffffff0
-    ori     $s0, 0xfff0
-    ori     $s1, $0, 1          # Prepare the 'done' status
-
-    #### Test code start ####
-
-    lui     $t0, 0x1234         # Multiply A 0x12345678
-    ori     $t0, 0x5678
-    lui     $t1, 0xc001         # Multiply B 0xc001cafe
-    ori     $t1, 0xcafe
-    lui     $t2, 0x3141         # Fused sum 0x3141592631415926
-    ori     $t2, 0x5926
-    mthi    $t2
-    mtlo    $t2
-    msubu   $t0, $t1            # 0x2399f7a87ea0de16
-    mfhi    $t3
-    mflo    $t4
-    lui     $t5, 0x2399
-    ori     $t5, 0xf7a8
-    lui     $t6, 0x7ea0
-    ori     $t6, 0xde16
-    subu    $t7, $t3, $t5
-    subu    $t8, $t4, $t6
-    sltiu   $v0, $t7, 1
-    sltiu   $v1, $t8, 1
-    and     $v0, $v0, $v1
-
-    #### Test code end ####
-
-    sw      $v0, 8($s0)         # Set the test result
-    sw      $s1, 4($s0)         # Set 'done'
-
-$done:
-    jr      $ra
-    nop
-
-    .end test
-- 
2.23.0