This is the mail archive of the
mailing list for the GCC project.
load multiple from const labels?
- From: N V Krishna <nvk at cs dot purdue dot edu>
- To: gcc at gnu dot org
- Date: Thu, 17 Oct 2002 10:26:09 -0500 (EST)
- Subject: load multiple from const labels?
On inspecting different codes, I see that there are quite a few
loads from constant labels.
ldr r1, .L224
ldr r2, .L224+4
I was wondering if we can use LDM (load multiple) type of instruction on
ARM type of processors here?
I tried inserting LDM instruction as I insert LDM with registers, but gcc
cribbed saying 'internal error--unrecognizable insn:'
I tried inserting one SET instruction and followed by LDM, and this time
gcc cribbed for the SET instruction. Please forgive my ignorance and let
me know if it is not possible to write have instructions like
mov r1, .L224+immediate
or I am making some mistake in building the rtl??