It is not available with the baseline ISA.
Fixes commit
68ab82f56690ada86ac1e0c46bad06ba189a10ef
("powerpc: Runtime selection between sc and scv for syscalls").
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
mflr r9; \
std r9,FRAME_LR_SAVE(r1); \
cfi_offset(lr,FRAME_LR_SAVE); \
+ .machine "push"; \
+ .machine "power9"; \
scv 0; \
+ .machine "pop"; \
ld r9,FRAME_LR_SAVE(r1); \
mtlr r9; \
cfi_restore(lr);
because it uses CFI directives and we just called cfi_endproc. */
mflr r9
std r9,FRAME_LR_SAVE(r1)
+ .machine "push"
+ .machine "power9"
scv 0
+ .machine "pop"
ld r9,FRAME_LR_SAVE(r1)
mtlr r9
#define SYSCALL_SCV(nr) \
({ \
__asm__ __volatile__ \
- ("scv 0\n\t" \
+ (".machine \"push\"\n\t" \
+ ".machine \"power9\"\n\t" \
+ "scv 0\n\t" \
+ ".machine \"pop\"\n\t" \
"0:" \
: "=&r" (r0), \
"=&r" (r3), "=&r" (r4), "=&r" (r5), \