OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [mulv10.ms] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv8 crisv10
2
# output: fffffffe\n
3
# output: ffffffff\n
4
# output: fffffffe\n
5
# output: 1\n
6
 
7
; Check that carry is cleared on v8, v10.
8
 
9
 .include "testutils.inc"
10
 start
11
 moveq -1,r3
12
 moveq 2,r4
13
 setf c
14
 muls.d r4,r3
15
 test_cc 1 0 0 0
16
 dumpr3 ; fffffffe
17
 move mof,r3
18
 dumpr3 ; ffffffff
19
 
20
 moveq -1,r3
21
 moveq 2,r4
22
 setf c
23
 mulu.d r4,r3
24
 test_cc 0 0 1 0
25
 dumpr3 ; fffffffe
26
 move mof,r3
27
 dumpr3 ; 1
28
 
29
 quit

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.