OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [testfloat.exp] - Blame information for rev 234

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 233 julius
# testfloat.exp - Run and check the testfloat test
2
 
3
# Copyright (C) 2010 Embecosm Limited
4
# Copyright (C) 2010 ORSoC AB
5
 
6
# Contributor Jeremy Bennett 
7
# Contributor Julius Baxter 
8
 
9
# This file is part of OpenRISC 1000 Architectural Simulator.
10
 
11
# This program is free software; you can redistribute it and/or modify it
12
# under the terms of the GNU General Public License as published by the Free
13
# Software Foundation; either version 3 of the License, or (at your option)
14
# any later version.
15
 
16
# This program is distributed in the hope that it will be useful, but WITHOUT
17
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
19
# more details.
20
 
21
# You should have received a copy of the GNU General Public License along
22
# with this program.  If not, see .  */
23
 
24
# -----------------------------------------------------------------------------
25
# This code is commented throughout for use with Doxygen.
26
# -----------------------------------------------------------------------------
27
 
28
 
29
# Can take up to 5 minutes to run this test
30 234 jeremybenn
set old_timeout $timeout
31 233 julius
set timeout 300
32
 
33
# Run testfloat
34
run_or1ksim "testfloat"                       \
35 234 jeremybenn
    [list "No errors found in int32_to_float32, rounding nearest_even." \
36 233 julius
         "No errors found in int32_to_float32, rounding to_zero." \
37
         "No errors found in int32_to_float32, rounding down." \
38
         "No errors found in int32_to_float32, rounding up." \
39
         "No errors found in float32_to_int32, rounding nearest_even." \
40
         "No errors found in float32_to_int32, rounding to_zero." \
41
         "No errors found in float32_to_int32, rounding down." \
42
         "No errors found in float32_to_int32, rounding up." \
43
         "No errors found in float32_to_int32_round_to_zero." \
44
         "No errors found in float32_add, rounding nearest_even." \
45
         "No errors found in float32_add, rounding to_zero." \
46
         "No errors found in float32_add, rounding down." \
47
         "No errors found in float32_add, rounding up." \
48
         "No errors found in float32_sub, rounding nearest_even." \
49
         "No errors found in float32_sub, rounding to_zero." \
50
         "No errors found in float32_sub, rounding down." \
51
         "No errors found in float32_sub, rounding up." \
52
         "No errors found in float32_mul, rounding nearest_even." \
53
         "No errors found in float32_mul, rounding to_zero." \
54
         "No errors found in float32_mul, rounding down." \
55
         "No errors found in float32_mul, rounding up." \
56
         "No errors found in float32_div, rounding nearest_even." \
57
         "No errors found in float32_div, rounding to_zero." \
58
         "No errors found in float32_div, rounding down." \
59
         "No errors found in float32_div, rounding up." \
60
         "No errors found in float32_eq." \
61
         "No errors found in float32_le." \
62
         "No errors found in float32_lt" \
63 234 jeremybenn
         "!exit(0)"]                    \
64
    "fp.cfg" "testfloat/testfloat"
65
 
66
set timeout $old_timeout

powered by: WebSVN 2.1.0

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