On 05/21/2017 03:35 AM, Tom de Vries wrote:
On 12/02/2015 04:09 PM, Nathan Sidwell wrote:
+/* Output a pattern for a move instruction. */
+
+const char *
+nvptx_output_mov_insn (rtx dst, rtx src)
+{
src_inner uses dst_mode rather than GET_MODE (src). I'm trying to
understand if that is inten
On 12/02/2015 04:09 PM, Nathan Sidwell wrote:
+/* Output a pattern for a move instruction. */
+
+const char *
+nvptx_output_mov_insn (rtx dst, rtx src)
+{
+ machine_mode dst_mode = GET_MODE (dst);
+ machine_mode dst_inner = (GET_CODE (dst) == SUBREG
+ ? GET_MODE (XEXP
On 12/02/2015 04:09 PM, Nathan Sidwell wrote:
The PTX md file goes to a lot of effort handling SC and DC movs,
including for unspecs to mov low and high parts around. However, these
code paths are not exercised in any gcc test or the build of newlib.
The generic handling of these movs deals with
The PTX md file goes to a lot of effort handling SC and DC movs, including for
unspecs to mov low and high parts around. However, these code paths are not
exercised in any gcc test or the build of newlib. The generic handling of these
movs deals with type punning, (using the stack frame, if ne