This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
About feasibility of implementing an instruction
- From: Mohamed Shafi <shafitvm at gmail dot com>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Thu, 2 Jul 2009 10:29:15 +0530
- Subject: About feasibility of implementing an instruction
Hello all,
I just want to know about the feasibility of implementing an
instruction for a port in gcc 4.4
The target has 40 bit register where the normal load/store/move
instructions will be able to access the 32 bits of the register. In
order to move data into the rest of the register [b32 to b39] the data
has to be stored into a 32bit memory location. The data should be
stored in such a way that if it is stored for 0-7 in memory the data
can be moved to b32-b39 of a even register and if the data in the
memory is stored in 16-23 of the memory word then it can be moved to
b32-b39 of a odd register. Hope i make myself clear.
Will it be possible to implement this in the gcc back-end so that the
particular instruction is supported?
Regards,
Shafi