[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Petar Jovanovic changed: What|Removed |Added Assignee|[email protected] |[email protected] Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #38 from Petar Jovanovic --- Support for N32 ABI has finally landed in a series of 4 patches: #1 additional use of RegWord https://sourceware.org/git/?p=valgrind.git;a=commit;h=8b2fe98aca7568a821c921ba3183f7d62b35a12c #2 mips64: use RegWord where appplicable https://sourceware.org/git/?p=valgrind.git;a=commit;h=ac58a6b8578697bdbfdfdcc8d2c70f8f93eef8c0 #3 mips64: add N32 ABI support https://sourceware.org/git/?p=valgrind.git;a=commit;h=9a6cf7a41c7e7a32e0d0a369b4519b97e2569d3d #4 mips64: update tests for N32 ABI https://sourceware.org/git/?p=valgrind.git;a=commit;h=58c1c98db4eb8a66ddea228ab00c8ac1bd7e027c Please test it now on your machines. Thanks for the contribution. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Aleksandar Rikalo changed: What|Removed |Added Attachment #112104|0 |1 is obsolete|| --- Comment #37 from Aleksandar Rikalo --- Created attachment 112117 --> https://bugs.kde.org/attachment.cgi?id=112117&action=edit Fix tests -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Aleksandar Rikalo changed: What|Removed |Added Attachment #112103|0 |1 is obsolete|| --- Comment #36 from Aleksandar Rikalo --- Created attachment 112116 --> https://bugs.kde.org/attachment.cgi?id=112116&action=edit Add mips N32 ABI support -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Aleksandar Rikalo changed: What|Removed |Added Attachment #111846|0 |1 is obsolete|| --- Comment #35 from Aleksandar Rikalo --- Created attachment 112104 --> https://bugs.kde.org/attachment.cgi?id=112104&action=edit Fix tests Re-based & arranged patch. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Aleksandar Rikalo changed: What|Removed |Added Attachment #111845|0 |1 is obsolete|| --- Comment #34 from Aleksandar Rikalo --- Created attachment 112103 --> https://bugs.kde.org/attachment.cgi?id=112103&action=edit Add mips N32 ABI suupport Re-based & arranged patch. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 --- Comment #33 from Aleksandar Rikalo --- Created attachment 111846 --> https://bugs.kde.org/attachment.cgi?id=111846&action=edit Fix tests With the last three changes, there are no failing tests on mips N32. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Aleksandar Rikalo changed: What|Removed |Added Attachment #92187|0 |1 is obsolete|| Attachment #95761|0 |1 is obsolete|| Attachment #95762|0 |1 is obsolete|| Attachment #106892|0 |1 is obsolete|| Attachment #106893|0 |1 is obsolete|| Attachment #106894|0 |1 is obsolete|| Attachment #106895|0 |1 is obsolete|| --- Comment #32 from Aleksandar Rikalo --- Created attachment 111845 --> https://bugs.kde.org/attachment.cgi?id=111845&action=edit Add mips N32 ABI suupport -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Aleksandar Rikalo changed: What|Removed |Added CC||[email protected] --- Comment #31 from Aleksandar Rikalo --- Created attachment 111844 --> https://bugs.kde.org/attachment.cgi?id=111844&action=edit Introduce RegWord type On all other architectures size of long matches register width. On mips n32 size of long is 32 bits and register width is 64 bits. Valgrind is written with assumption that long size matches register width. This is reason why both UWord for valgrind and HWord for VEX match size of long. Long size differs from register size on mips n32 ABI. This causes problems in several cases: - For do_syscall arguments is used UWord type. This may cause that 64-bit values lost 32 higher bits. - In several places where Valgrind needs to check size of registers, using long based types, would give incorrect value. There are two possible solutions for these problems: - Change size of HWord or UWord for mips n32 abi- Problem with this solution is that they are already used on great number of places where it is assumed that they match long size. Changing their size would require changes in great number of places, and require new type which matches size of long. Change of this proportion would potentially introduce a great deal of new bugs. - Introduce a new type which will match size of registers on all platforms and use it where necessary, which is implemented in provided patch. This patch has no effect on Valgrind's behavior. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 --- Comment #30 from Maran Pakkirisamy --- Created attachment 106895 --> https://bugs.kde.org/attachment.cgi?id=106895&action=edit fix building valgrind for N32 These changes were required on top of N32 support patches to build V for N32 successfully. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 --- Comment #29 from Maran Pakkirisamy --- Created attachment 106894 --> https://bugs.kde.org/attachment.cgi?id=106894&action=edit fix name mismatch Fixes a minor issue in the N32 support patches. The same name mismatch issue is found for VGP_ppc32_linux, VGP_ppc64be_linux, VGP_ppc64le_linux as well. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 --- Comment #28 from Maran Pakkirisamy --- Created attachment 106893 --> https://bugs.kde.org/attachment.cgi?id=106893&action=edit n32 support VEX patch rebased on 3.13 This is rebase of the patch in #comment 25 on 3.13 branch. Applies on VEX trunk r3398 as well. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 345763] MIPS N32 ABI support
https://bugs.kde.org/show_bug.cgi?id=345763 Maran Pakkirisamy changed: What|Removed |Added CC||maran.pakkirisamy@caviumnet ||works.com --- Comment #27 from Maran Pakkirisamy --- Created attachment 106892 --> https://bugs.kde.org/attachment.cgi?id=106892&action=edit n32 support valgrind patch rebased on 3.13 This is rebase of the patch in #comment 24 on 3.13 branch. Applies on trunk rr16461 as well. -- You are receiving this mail because: You are watching all bug changes.
