[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [patch #3547] Libjit register overwrite for store elem
From: |
Evin Robertson |
Subject: |
[Pnet-developers] [patch #3547] Libjit register overwrite for store element |
User-agent: |
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.3) Gecko/20041007 Galeon/1.3.18 (Debian package 1.3.18-1.1) |
This mail is an automated notification from the patch tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[patch #3547] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3547>
Project: DotGNU Portable.NET
Submitted by: Evin Robertson
On: Fri 12/03/04 at 20:06
Category: None
Priority: 5 - Normal
Resolution: None
Privacy: Public
Assigned to: None
Originator Email:
Status: Open
Summary: Libjit register overwrite for store element
Original Submission: Same problem as before with store relative overwriting
the destination address with the value. This time with store element.
The register allocater seems to get confused if either the destination or the
value being written are constants. Segmentation faults result.
To work around this, I check for immediates like you did before. I added [imm,
reg, imm] and [imm, reg, reg] and [reg, reg, imm] modes for the store element
opcodes.
However, the gen-sel tool doesn't like multiple immediates (it will overwrite
one with the other). So I reworked it to take up to 8 registers, and 8
immediates. The names are reg1 to reg8 and imm_value1 to imm_value8. A few
places in the x86 sel file thus needed a 'reg' changed to a 'reg1'.
If you apply patch #3546 it will need its 'reg' changed to 'reg1' as well.
CC List
-------
CC Address | Comment
------------------------------------+-----------------------------
rweather |
File Attachments
-------------------
-------------------------------------------------------
Date: Fri 12/03/04 at 20:06 Name: jitreg.patch Size: 8.3KB By: evin
Multiple immediates for gen-sel and correction for store element
http://savannah.gnu.org/patch/download.php?item_id=3547&item_file_id=3915
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3547>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [patch #3547] Libjit register overwrite for store element,
Evin Robertson <=