[Nasm-bugs] [Bug 3392745] New: gmake golden produce different output on i386 and SPARC
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Mon Mar 1 00:47:38 PST 2021
https://bugzilla.nasm.us/show_bug.cgi?id=3392745
Bug ID: 3392745
Summary: gmake golden produce different output on i386 and
SPARC
Product: NASM
Version: 2.15.xx
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: sumbera at volny.cz
CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: Build from source archive using configure
There is probably no real reason to run i386 assembler on SPARC. But it runs
but there might be a bug.
When comparing output of 'gmake golden' between these two platforms I see
difference in following *.o files:
test/golden/br3005117/br3005117/br3005117.o
test/golden/br3392259/br3392259/br3392259.o
test/golden/br978756/br978756/br978756.o
test/golden/elfso/optimized/elfso.o
test/golden/elfso/unoptimized/elfso.o
test/golden/floattest/optimized/floattest.o
test/golden/gotoff64/noerr/gotoff64.o
test/golden/lnxhello/elf32/lnxhello.o
test/golden/mpx/mpx/mpx.o
test/golden/mpx-64/mpx-64/mpx-64.o
test/golden/sha/sha/sha.o
test/golden/sha-64/sha-64/sha-64.o
When disassembling the last file on i368 I see following difference:
$ gdiff i386-sha-64.dis sparc-sha-64.dis
11,12c11,12
< 00000012 3E0001 add [ds:bx+di],al
< 00000015 0000 add [bx+si],al
---
> 00000012 3E0000 add [ds:bx+si],al
> 00000015 0001 add [bx+di],al
Is there any big endian issue?
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list