Mercurial > hg > truffle
comparison graal/com.oracle.graal.ptx/src/com/oracle/graal/ptx/PTX.java @ 10898:ea308a63760b
added unalignedMemoryAccess to Architecture
author | twisti |
---|---|
date | Fri, 26 Jul 2013 20:34:05 -0700 |
parents | 0f8683ac4009 |
children | 91e5f927af63 |
comparison
equal
deleted
inserted
replaced
10897:9c4f90e48c60 | 10898:ea308a63760b |
---|---|
106 // FPU | 106 // FPU |
107 f0, f1, f2, f3, f4, f5, f6, f7, | 107 f0, f1, f2, f3, f4, f5, f6, f7, |
108 f8, f9, f10, f11, f12, f13, f14, f15 | 108 f8, f9, f10, f11, f12, f13, f14, f15 |
109 }; | 109 }; |
110 | 110 |
111 // @formatter:on | |
112 | |
111 public PTX() { | 113 public PTX() { |
112 super("PTX", | 114 super("PTX", 8, ByteOrder.LITTLE_ENDIAN, false, allRegisters, LOAD_STORE | STORE_STORE, 0, r15.encoding + 1, 8); |
113 8, | |
114 ByteOrder.LITTLE_ENDIAN, | |
115 allRegisters, | |
116 LOAD_STORE | STORE_STORE, | |
117 0, | |
118 r15.encoding + 1, | |
119 8); | |
120 } | 115 } |
121 // @formatter:on | |
122 | 116 |
123 @Override | 117 @Override |
124 public boolean canStoreValue(RegisterCategory category, PlatformKind platformKind) { | 118 public boolean canStoreValue(RegisterCategory category, PlatformKind platformKind) { |
125 if (!(platformKind instanceof Kind)) { | 119 if (!(platformKind instanceof Kind)) { |
126 return false; | 120 return false; |