Add support for Andes NDS32:
[deliverable/binutils-gdb.git] / gas / testsuite / gas / ieee-fp / x930509a.exp
CommitLineData
5bf135a7
NC
1# Copyright 2012
2# Free Software Foundation, Inc.
3
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 3 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17
252b5132
RH
18# Reported 93/05/09 by Jim Wilson: IEEE single-precision FLT_MIN value gets
19# assembled incorrectly. (Off by one ulp.)
20
21proc dotest {} {
22 set testname "IEEE FLT_MIN, single-precision"
23 set x 0
24 gas_start "x930509a.s" "-al"
25 while 1 {
26 expect {
224de7a5
AM
27 -re " 00 ?00 ?80 ?00\[ \]+.single" { pass $testname; set x 1 }
28 -re " 00 ?80 ?00 ?00\[ \]+.single" { pass $testname; set x 1 }
29 -re ".single" { fail $testname; set x 1 }
252b5132
RH
30 -re "\[^\n\]*\n" { }
31 timeout { perror "timeout\n"; break }
32 eof { break }
33 }
34 }
35 gas_finish
252b5132 36
8ace442d
AM
37 # C54x alignment/addressing is different, so the listing looks different
38 # float encoding is tested in c54x-specific tests.
39 # No floating point support in assembly code for CRIS.
40 setup_xfail "arc*-*-*" "cris-*-*" "*c30*-*-*" "*c54x*-*-*" "*c80*-*-*"
05e6b315 41 setup_xfail "vax*-*-*" "crisv32-*-*"
8ace442d
AM
42
43 if !$x then { fail "$testname (listing didn't match)" }
252b5132 44}
This page took 0.640399 seconds and 4 git commands to generate.