]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000: Add CCFP and CCEQ to CCANY
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 10 Oct 2025 12:08:45 +0000 (12:08 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Fri, 10 Oct 2025 12:18:14 +0000 (12:18 +0000)
This allows those modes to be used in more setbc and similar
constructions.

2025-10-10  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/rs6000.md (mode_iterator CCANY): Add CCFP and CCEQ.

gcc/config/rs6000/rs6000.md

index 04a6c0f7461df6c2d111027978096d1709ed853b..ff085bf9bb107b43e0bd54f9fc4c7b07cd00e09e 100644 (file)
 ;; leave out the mode in operand 4 and use one pattern, but reload can
 ;; change the mode underneath our feet and then gets confused trying
 ;; to reload the value.
-(define_mode_iterator CCANY [CC CCUNS])
+(define_mode_iterator CCANY [CC CCUNS CCFP CCEQ])
 (define_insn "isel_<CCANY:mode>_<GPR:mode>"
   [(set (match_operand:GPR 0 "gpc_reg_operand" "=r,r")
        (if_then_else:GPR