The Sram Rival 22 GXP spindle is the same width at the Shimano. Just a tad longer on the drive side.
This isn't quite so. You need to add a shim to the non drive side bottom bearing cup to be placed, not down into the BB cup but from behind the BB cup. (The BB cup has to be taken off).