Bug correction for xpulp instruction generation and basic xpulp test.…
Created by: XavierAubert
… This commit redo modifications that were inside PR#1819. This PR has been cancelled as it contained modifications to files that has been renamed in PR#1840, and it was faster and simpler to just redo the modifications from a clean state.