diff --git a/mipsevm/test/bin/madd.bin b/mipsevm/test/bin/madd.bin deleted file mode 100644 index 1a3ad7a63fdc51a2e70cc88e4396e7bed83ad36a..0000000000000000000000000000000000000000 Binary files a/mipsevm/test/bin/madd.bin and /dev/null differ diff --git a/mipsevm/test/bin/maddu.bin b/mipsevm/test/bin/maddu.bin deleted file mode 100644 index b03db7d18d02ee02085abbb31263494924b70bcc..0000000000000000000000000000000000000000 Binary files a/mipsevm/test/bin/maddu.bin and /dev/null differ diff --git a/mipsevm/test/bin/msub.bin b/mipsevm/test/bin/msub.bin deleted file mode 100644 index ef2271c86e663fffe34e750429999cdcb5fea950..0000000000000000000000000000000000000000 Binary files a/mipsevm/test/bin/msub.bin and /dev/null differ diff --git a/mipsevm/test/bin/msubu.bin b/mipsevm/test/bin/msubu.bin deleted file mode 100644 index f113a2039e0688db99169d9d7e16eeb1419fa749..0000000000000000000000000000000000000000 Binary files a/mipsevm/test/bin/msubu.bin and /dev/null differ diff --git a/mipsevm/test/madd.asm b/mipsevm/test/madd.asm deleted file mode 100644 index a38e9734409d7e1cb9c655e8a3104b0db5630f00..0000000000000000000000000000000000000000 --- 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 9de0a1e0480c7f68b1b6cd4597a6b2c942b294e6..0000000000000000000000000000000000000000 --- 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 998c8ad62d6c46bb49e18a46e3966e7d3bf111eb..0000000000000000000000000000000000000000 --- 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 3cad6f40d09f49ff3ccd5eb6f49d69d5fa8e9f00..0000000000000000000000000000000000000000 --- 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