Skip to content
Snippets Groups Projects
Commit c38093b5 authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

[project @ 2000-07-11 19:28:34 by panne]

Replace RcFloating with RcFloat/RcDouble. I'm not exactly sure what
I'm doing here, so somebody else should better have a look.
parent 418f5ec0
No related merge requests found
......@@ -789,10 +789,9 @@ spillReg vreg_to_slot_map delta dyn vreg
{-I386: spill above stack pointer leaving 3 words/spill-}
,IF_ARCH_i386 ( let off_w = (off-delta) `div` 4
in
if regClass vreg == RcFloating
then GST F80 dyn (spRel off_w)
else MOV L (OpReg dyn) (OpAddr (spRel off_w))
in case regClass vreg of
RcInteger -> MOV L (OpReg dyn) (OpAddr (spRel off_w))
_ -> GST F80 dyn (spRel off_w) -- RcFloat/RcDouble
{-SPARC: spill below frame pointer leaving 2 words/spill-}
,IF_ARCH_sparc(
......@@ -813,10 +812,9 @@ loadReg vreg_to_slot_map delta vreg dyn
IF_ARCH_alpha( LD sz dyn (spRel (- (off `div` 8)))
,IF_ARCH_i386 ( let off_w = (off-delta) `div` 4
in
if regClass vreg == RcFloating
then GLD F80 (spRel off_w) dyn
else MOV L (OpAddr (spRel off_w)) (OpReg dyn)
in case regClass vreg of
RcInteger -> MOV L (OpAddr (spRel off_w)) (OpReg dyn)
_ -> GLD F80 (spRel off_w) dyn -- RcFloat/RcDouble
,IF_ARCH_sparc(
let off_w = 1 + (off `div` 4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment