Advice needed: programmatically generating primops?

Simon Peyton-Jones simonpj at microsoft.com
Fri Feb 15 12:01:08 CET 2013


Sounds good to me!

| -----Original Message-----
| From: ghc-devs-bounces at haskell.org [mailto:ghc-devs-bounces at haskell.org]
| On Behalf Of Geoffrey Mainland
| Sent: 15 February 2013 10:51
| To: ghc-devs at haskell.org
| Subject: Advice needed: programmatically generating primops?
| 
| Hi All,
| 
| There is a huge amount of boilerplate involved in adding a full
| complement of vector primops to GHC. I would like to reduce this
| boilerplate by programmatically generating the vector primops. My plan
| is to add utils/genvecprimops and #include its output into
| primops.txt.pp.
| 
| Does this sound reasonable? Any objections? While I'm at it, is there
| any related cleanup I could undertake?
| 
| Thanks,
| Geoff
| 
| 
| _______________________________________________
| ghc-devs mailing list
| ghc-devs at haskell.org
| http://www.haskell.org/mailman/listinfo/ghc-devs



More information about the ghc-devs mailing list