On Mon, 26 Sep 2022, Lulu Cheng wrote:

> +GTM_longjmp:
> +        cfi_startproc
> +        GPR_L  $s0, $r5, 3*SZ_GPR
> +        GPR_L  $s1, $r5, 4*SZ_GPR
> +        GPR_L  $s2, $r5, 5*SZ_GPR
> +        GPR_L  $s3, $r5, 6*SZ_GPR
> +        GPR_L  $s4, $r5, 7*SZ_GPR
> +        GPR_L  $s5, $r5, 8*SZ_GPR
> +        GPR_L  $s6, $r5, 9*SZ_GPR
> +        GPR_L  $s7, $r5, 10*SZ_GPR
> +        GPR_L  $s8, $r5, 11*SZ_GPR
> +
> +        FPR_L  $f24, $r5, 12*SZ_GPR + 0*SZ_FPR
> +        FPR_L  $f25, $r5, 12*SZ_GPR + 1*SZ_FPR
> +        FPR_L  $f26, $r5, 12*SZ_GPR + 2*SZ_FPR
> +        FPR_L  $f27, $r5, 12*SZ_GPR + 3*SZ_FPR
> +        FPR_L  $f28, $r5, 12*SZ_GPR + 4*SZ_FPR
> +        FPR_L  $f29, $r5, 12*SZ_GPR + 5*SZ_FPR
> +        FPR_L  $f30, $r5, 12*SZ_GPR + 6*SZ_FPR
> +        FPR_L  $f31, $r5, 12*SZ_GPR + 7*SZ_FPR

This is missing a __loongarch_soft_float conditional like the one present 
above.  Thus, this breaks building for soft-float:

/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S: Assembler 
messages:
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:107: Error: no 
match insn: fpr_l       $f24,$r5,12*8+0*0
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:108: Error: no 
match insn: fpr_l       $f25,$r5,12*8+1*0
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:109: Error: no 
match insn: fpr_l       $f26,$r5,12*8+2*0
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:110: Error: no 
match insn: fpr_l       $f27,$r5,12*8+3*0
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:111: Error: no 
match insn: fpr_l       $f28,$r5,12*8+4*0
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:112: Error: no 
match insn: fpr_l       $f29,$r5,12*8+5*0
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:113: Error: no 
match insn: fpr_l       $f30,$r5,12*8+6*0
/scratch/jmyers/glibc-bot/src/gcc/libitm/config/loongarch/sjlj.S:114: Error: no 
match insn: fpr_l       $f31,$r5,12*8+7*0
Makefile:657: recipe for target 'sjlj.lo' failed

https://sourceware.org/pipermail/libc-testresults/2022q3/010294.html

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to