e83fbfa190a5c5533e91692faad120bbf1cdbb1e
[external/binutils.git] / sim / testsuite / sim / mips / hilo-hazard-4.s
1 # Test for mf{hi,lo} -> mult/div/mt{hi,lo} with 2 nops inbetween.
2 #
3 # mach:         all
4 # as:           -mabi=eabi -mmicromips
5 # ld:           -N -Ttext=0x80010000
6 # output:       pass\\n
7
8 # Copyright (C) 2013-2015 Imagination Technologies, Ltd.
9 # All rights reserved.
10 # Contributed by Andrew Bennett (andrew.bennett@imgtec.com)
11 #
12 # This file is part of the MIPS sim.
13 #
14 # This program is free software; you can redistribute it and/or modify
15 # it under the terms of the GNU General Public License as published by
16 # the Free Software Foundation; either version 3, or (at your option)
17 # any later version.
18 #
19 # This program is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 # GNU General Public License for more details.
23 #
24 # You should have received a copy of the GNU General Public License along
25 # with this program; if not, see <http://www.gnu.org/licenses/>.
26
27         .include "hilo-hazard.inc"
28         .include "testutils.inc"
29
30         setup
31
32         .set noreorder
33         .ent DIAG
34 DIAG:
35         hilo
36         pass
37         .end DIAG