nvptx.h (HARD_REGNO_NREGS): Avoid warning on unused args.

* config/nvptx/nvptx.h (HARD_REGNO_NREGS): Avoid warning on unused
	args.
	(MOVE_MAX): Set to 8.

Co-Authored-By: Nathan Sidwell <nathan@acm.org>

From-SVN: r229610
This commit is contained in:
Jeff Law 2015-10-30 22:30:20 +00:00 committed by Nathan Sidwell
parent 2ac33bca8a
commit 9251aec67d
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2015-10-30 Jeff Law <jeff@redhat.com>
Nathan Sidwell <nathan@acm.org>
* config/nvptx/nvptx.h (HARD_REGNO_NREGS): Avoid warning on unused
args.
(MOVE_MAX): Set to 8.
2015-10-30 Cesar Philippidis <cesar@codesourcery.com>
* cgraph.c: Include context.h for offloading.

View File

@ -88,7 +88,7 @@
#define CALL_USED_REGISTERS \
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }
#define HARD_REGNO_NREGS(regno, mode) 1
#define HARD_REGNO_NREGS(regno, mode) ((void)(regno), (void)(mode), 1)
#define CANNOT_CHANGE_MODE_CLASS(M1, M2, CLS) ((CLS) == RETURN_REG)
#define HARD_REGNO_MODE_OK(REG, MODE) nvptx_hard_regno_mode_ok (REG, MODE)
@ -356,7 +356,7 @@ struct GTY(()) machine_function
#define FLOAT_STORE_FLAG_VALUE(MODE) REAL_VALUE_ATOF("1.0", (MODE))
#define CASE_VECTOR_MODE SImode
#define MOVE_MAX 4
#define MOVE_MAX 8
#define MOVE_RATIO(SPEED) 4
#define TRULY_NOOP_TRUNCATION(outprec, inprec) 1
#define FUNCTION_MODE QImode