This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Using a 'V' constraint with QI mode....
- From: Alan Lehotsky <alehotsky at me dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sat, 29 Dec 2012 21:28:46 -0500
- Subject: Using a 'V' constraint with QI mode....
- Reply-to: apl at alum dot mit dot edu
The V constraint is essentially implemented by checking that the addressing mode presented is NOT offsettable. But that's done by adding GET_MODE_SIZE(mode) - 1.
I've got a machine that supports indirection but not offsetting or indexing. But the V constraint fails for any
(mem:QI (reg:SI p0 ) )
Am I missing some trick that would allow me to make effective use of V?