This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sim/11965] New: vmhaddshs, vmhraddshs uninitialized variable may cause wrong VSCR result


Looking at sim/ppc/altivec.igen 1.4 it seems the sat variable for vmhaddshs and
vmhraddshs isn't initialized before being "|=" in the vector element loop, so
depending on what the host and compiler makes of it, VSCR (from calling
ALTIVEC_SET_SAT) may be set incorrectly.  I guess not many codes looks at it,
hence going undetected until now.  Just a random observation, no test-case or
anything.  Not even sure I see right. :)

-- 
           Summary: vmhaddshs, vmhraddshs uninitialized variable may cause
                    wrong VSCR result
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: sim
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: hp at sourceware dot org
                CC: gdb-prs at sourceware dot org
GCC target triplet: powerpc-*


http://sourceware.org/bugzilla/show_bug.cgi?id=11965

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]