Sign in
qemu
/
qemu
/
583f4d6fdd96f0f25f39018a9b160654e3f9aa01
/
.
/
tests
/
tcg
/
hexagon
/
test_mpyi.S
blob: 953b46e57e44a1d4bf92aa3eecac5c20c3680e53 [
file
] [
log
] [
blame
]
/*
Purpose
:
test a simple multiplication operation
*/
.text
.globl _start
_start
:
{
r1
=
#4
r2
=
#6
}
{
r3
=
mpyi
(
r1
,
r2
)
}
{
p0
=
cmp.eq
(
r3
,
#24); if (p0.new) jump:t pass
jump fail
}