+2015-10-28 Nathan Sidwell <nathan@codesourcery.com>
+
+ * config/nvptx/nvptx.c (nvptx_print_operand): Remove 'd' case.
+ (struct parallel): Update comment.
+ (nvptx_reorg): Likewise.
+ (nvptx_neuter): Cleanup whitespace.
+
2015-10-28 Richard Henderson <rth@redhat.com>
* tree-eh.c (mark_reachable_handlers): Fix typo in assert.
A -- print an address space identifier for a MEM
c -- print an opcode suffix for a comparison operator, including a type code
- d -- print a CONST_INT as a vector dimension (x, y, or z)
f -- print a full reg even for something that must always be split
S -- print a shuffle kind specified by CONST_INT
t -- print a type opcode suffix, promoting QImode to 32 bits
}
break;
- case 'd':
- gcc_assert (x_code == CONST_INT);
- if (INTVAL (x) == 0)
- fputs (".x", file);
- else if (INTVAL (x) == 1)
- fputs (".y", file);
- else if (INTVAL (x) == 2)
- fputs (".z", file);
- else
- gcc_unreachable ();
- break;
-
case 't':
op_mode = nvptx_underlying_object_mode (x);
fprintf (file, "%s", nvptx_ptx_type_from_mode (op_mode, true));
}
}
-/* Loop structure of the function. The entire function is described as
- a NULL loop. We should be able to extend this to represent
- superblocks. */
+/* Loop structure of the function. The entire function is described as
+ a NULL loop. */
struct parallel
{
}
/* PTX-specific reorganization
- - Scan and release reduction buffers
- Split blocks at fork and join instructions
- Compute live registers
- Mark now-unused registers, so function begin doesn't declare
fprintf (asm_out_file, ", %#x", size);
}
-
+
fprintf (asm_out_file, "\n");
}
break;
-
+
default:
gcc_unreachable ();
}