Add macros for asm barrier instructions with arch-specific implementations.