comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/risc/ppc/PPCAssembly.java @ 4142:bc8527f3071c

Adjust code base to new level of warnings.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 05:24:06 +0100
parents e233f5660da4
children
comparison
equal deleted inserted replaced
4141:04d21be7a24f 4142:bc8527f3071c
38 38
39 private PPCAssembly() { 39 private PPCAssembly() {
40 super(ISA.PPC, RiscTemplate.class); 40 super(ISA.PPC, RiscTemplate.class);
41 } 41 }
42 42
43 @SuppressWarnings("static-method")
43 public boolean generatingDeprecatedInstructions() { 44 public boolean generatingDeprecatedInstructions() {
44 return GENERATING_DEPRECATED_INSTRUCTIONS; 45 return GENERATING_DEPRECATED_INSTRUCTIONS;
45 } 46 }
46 47
48 @SuppressWarnings("static-method")
47 public boolean generating64BitInstructions() { 49 public boolean generating64BitInstructions() {
48 return GENERATING_64BIT_INSTRUCTIONS; 50 return GENERATING_64BIT_INSTRUCTIONS;
49 } 51 }
50 52
53 @SuppressWarnings("static-method")
51 public boolean generatingPower5Instructions() { 54 public boolean generatingPower5Instructions() {
52 return GENERATING_POWER5_INSTRUCTIONS; 55 return GENERATING_POWER5_INSTRUCTIONS;
53 } 56 }
54 57
55 /** 58 /**
57 * in an mtcrf instruction is encoded as 1 but specified as 0 in the architecture manual. 60 * in an mtcrf instruction is encoded as 1 but specified as 0 in the architecture manual.
58 * 61 *
59 * This will have to be a non-constant method should another non-broken external assembler 62 * This will have to be a non-constant method should another non-broken external assembler
60 * be used for testing. 63 * be used for testing.
61 */ 64 */
65 @SuppressWarnings("static-method")
62 public boolean isExternalMTCRFEncodingBroken() { 66 public boolean isExternalMTCRFEncodingBroken() {
63 return true; 67 return true;
64 } 68 }
65 69
66 @Override 70 @Override