From 4a5138eb61a026ad6bc5470a648ebc596af1b1ed Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <thomas@codesourcery.com>
Date: Mon, 4 Sep 2023 16:48:53 +0200
Subject: [PATCH] [WIP] nvptx: Also allow immediate input operand to
'bitrev<mode>2'
---
gcc/config/nvptx/nvptx.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -636,7 +636,7 @@
(define_insn "bitrev<mode>2"
[(set (match_operand:SDIM 0 "nvptx_register_operand" "=R")
- (unspec:SDIM [(match_operand:SDIM 1 "nvptx_register_operand" "R")]
+ (unspec:SDIM [(match_operand:SDIM 1 "nvptx_nonmemory_operand" "Ri")]
UNSPEC_BITREV))]
""
"%.\\tbrev.b%T0\\t%0, %1;")
--
2.34.1