NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-mips/57680: printf("%.1f") shows wrong results on R3000mipseb



The following reply was made to PR port-mips/57680; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: riastradh%NetBSD.org@localhost
Cc: gnats-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-mips/57680: printf("%.1f") shows wrong results on R3000mipseb
Date: Thu, 16 Nov 2023 02:29:17 +0900

 > > However, IIUC if ".set reorder" is specified in as sources,
 > > gas(1) should have responsibilities to insert necessary nops
 > > to avoid hazards?
 > 
 > Does it insert the nops?  Can you see with objdump whether the
 > commented-out `#nop' in the .s intermediate temp file appears as a
 > real nop instruction in the .o file?
 
 The commented-out `#nop' in the .s is actually ignored by as(1).
 
 It looks as(1) itself will determine if more instructions
 (including nop) are necessary if reorder case:
  https://github.com/NetBSD/src/blob/trunk/external/gpl3/binutils/dist/gas/config/tc-mips.c#L6414-L6560
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index