No 312s were factory installed installed in trucks. The one you're looking at, if a Y block, is probably a HD 292. Could also be a Lincoln based HD truck engine.
The surface where the thermostat housing mounts is vertical on a 292, horizontal on the Lincoln. Also, the exhaust manifold bolt holes are in a straight line on a 292, staggered on the Lincoln.