split out fix reference routines per architecture