Convert the gmp cmm primops to use local stack allocation
authorDuncan Coutts <duncan@well-typed.com>
Wed, 10 Jun 2009 17:30:26 +0000 (17:30 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Wed, 10 Jun 2009 17:30:26 +0000 (17:30 +0000)
commit1ff927678455690bc03d6bf90c593e5eb98c1d5f
tree555f465e8e1a743a4706681669d6250b815aa173
parentc9acb4de50dd2b7f7ece5491f60598f0a4815e75
Convert the gmp cmm primops to use local stack allocation
Using global temp vars is really ugly and in the threaded case it
needs slots in the StgRegTable. It'd also be pretty silly once we
move the cmm primops out of the rts, into the integer-gmp package.
rts/PrimOps.cmm