+/* Return the GNER register associated with the given GR register.
+ There is no GNER associated with gr0. */
+#define GNER_FOR_GR(gr) ((gr) > 63 ? -1 : \
+ (gr) > 31 ? H_SPR_GNER0 : \
+ (gr) > 0 ? H_SPR_GNER1 : \
+ -1)
+/* Return the GNER register associated with the given GR register.
+ There is no GNER associated with gr0. */
+#define FNER_FOR_FR(fr) ((fr) > 63 ? -1 : \
+ (fr) > 31 ? H_SPR_FNER0 : \
+ (fr) > 0 ? H_SPR_FNER1 : \
+ -1)
+