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