mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-05 12:53:16 +08:00
17 lines
244 B
Plaintext
17 lines
244 B
Plaintext
|
# cr16 testcase for mulsw reg, (regp)
|
||
|
# mach(): cr16
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global mulsw
|
||
|
mulsw:
|
||
|
movw $0xfff,r4 # fix for 0xffff
|
||
|
movd $0xffffffff,(r6,r5)
|
||
|
|
||
|
mulsw r4, (r6,r5)
|
||
|
test_h_grp "(r6,r5)", 0xfffff001
|
||
|
|
||
|
pass
|