This allows those modes to be used in more setbc and similar
constructions.

2025-10-10  Segher Boessenkool  <[email protected]>

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

 --- --- 8< --- ---

Regstrapped on power{pc,64,64le}-linux, no regressions.  Committed.
---
 gcc/config/rs6000/rs6000.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 04a6c0f7461d..ff085bf9bb10 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -5558,7 +5558,7 @@ (define_expand "mov<mode>cc"
 ;; 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
-- 
1.8.3.1

Reply via email to