[ARM] Neon / Ocaml question

2010-01-11 Thread Ramana Radhakrishnan
Hi, I've been trying to play with the Neon scheduler description in config/arm/neon-schedgen.ml. Running the description through the ocaml compiler gives me the following errors cam-bc3-b12:ramrad01 68 ocamlc -c neon-schedgen.ml File neon-schedgen.ml, line 51, characters 0-10: Unbound

Re: [ARM] Neon / Ocaml question

2010-01-11 Thread Julian Brown
On Mon, 11 Jan 2010 09:52:59 + Ramana Radhakrishnan ramana.radhakrish...@arm.com wrote: cam-bc3-b12:ramrad01 68 ocamlc -c neon-schedgen.ml File neon-schedgen.ml, line 51, characters 0-10: Unbound module Utils It sounds like a configuration issue but given my rather rusty ocaml skills

Re: [ARM] Neon / Ocaml question

2010-01-11 Thread Daniel Jacobowitz
On Mon, Jan 11, 2010 at 12:28:38PM +, Julian Brown wrote: Another thing which might bite you is that recent OCaml versions don't like hyphens in filenames: replacing them with underscores works OK though (i.e. neon_schedgen.ml). Fortunately it's just a warning; you can also ignore it. --

Re: [ARM] Neon / Ocaml question

2010-01-11 Thread Ramana Radhakrishnan
Would you like to try this out and see how you get on with it? Followups set to gcc-patches. Thanks - that works and I can confirm that those bits generate identical code to what's auto-generated in cortex-a8-neon.md. I'll submit a patch to gcc-patches@ unless you beat me to it. cheers