Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
5e2ba8e5
Commit
5e2ba8e5
authored
Sep 30, 2021
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no dsp extensions
parent
4ceaf67e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
227 deletions
+0
-227
madd.bin
mipsevm/test/bin/madd.bin
+0
-0
maddu.bin
mipsevm/test/bin/maddu.bin
+0
-0
msub.bin
mipsevm/test/bin/msub.bin
+0
-0
msubu.bin
mipsevm/test/bin/msubu.bin
+0
-0
madd.asm
mipsevm/test/madd.asm
+0
-57
maddu.asm
mipsevm/test/maddu.asm
+0
-57
msub.asm
mipsevm/test/msub.asm
+0
-57
msubu.asm
mipsevm/test/msubu.asm
+0
-56
No files found.
mipsevm/test/bin/madd.bin
deleted
100644 → 0
View file @
4ceaf67e
File deleted
mipsevm/test/bin/maddu.bin
deleted
100644 → 0
View file @
4ceaf67e
File deleted
mipsevm/test/bin/msub.bin
deleted
100644 → 0
View file @
4ceaf67e
File deleted
mipsevm/test/bin/msubu.bin
deleted
100644 → 0
View file @
4ceaf67e
File deleted
mipsevm/test/madd.asm
deleted
100644 → 0
View file @
4ceaf67e
###############################################################################
#
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
mipsevm/test/maddu.asm
deleted
100644 → 0
View file @
4ceaf67e
###############################################################################
#
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
mipsevm/test/msub.asm
deleted
100644 → 0
View file @
4ceaf67e
###############################################################################
#
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
mipsevm/test/msubu.asm
deleted
100644 → 0
View file @
4ceaf67e
###############################################################################
#
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment