Mercurial > hg > graal-compiler
comparison src/share/vm/adlc/forms.cpp @ 6179:8c92982cbbc4
7119644: Increase superword's vector size up to 256 bits
Summary: Increase vector size up to 256-bits for YMM AVX registers on x86.
Reviewed-by: never, twisti, roland
author | kvn |
---|---|
date | Fri, 15 Jun 2012 01:25:19 -0700 |
parents | 8b0a4867acf0 |
children | 8e47bac5643a |
comparison
equal
deleted
inserted
replaced
6146:eba1d5bce9e8 | 6179:8c92982cbbc4 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
263 if( strcmp(opType,"LoadPLocked")==0 ) return Form::idealP; | 263 if( strcmp(opType,"LoadPLocked")==0 ) return Form::idealP; |
264 if( strcmp(opType,"LoadP")==0 ) return Form::idealP; | 264 if( strcmp(opType,"LoadP")==0 ) return Form::idealP; |
265 if( strcmp(opType,"LoadN")==0 ) return Form::idealN; | 265 if( strcmp(opType,"LoadN")==0 ) return Form::idealN; |
266 if( strcmp(opType,"LoadRange")==0 ) return Form::idealI; | 266 if( strcmp(opType,"LoadRange")==0 ) return Form::idealI; |
267 if( strcmp(opType,"LoadS")==0 ) return Form::idealS; | 267 if( strcmp(opType,"LoadS")==0 ) return Form::idealS; |
268 if( strcmp(opType,"Load16B")==0 ) return Form::idealB; | 268 if( strcmp(opType,"LoadVector")==0 ) return Form::idealV; |
269 if( strcmp(opType,"Load8B")==0 ) return Form::idealB; | |
270 if( strcmp(opType,"Load4B")==0 ) return Form::idealB; | |
271 if( strcmp(opType,"Load8C")==0 ) return Form::idealC; | |
272 if( strcmp(opType,"Load4C")==0 ) return Form::idealC; | |
273 if( strcmp(opType,"Load2C")==0 ) return Form::idealC; | |
274 if( strcmp(opType,"Load8S")==0 ) return Form::idealS; | |
275 if( strcmp(opType,"Load4S")==0 ) return Form::idealS; | |
276 if( strcmp(opType,"Load2S")==0 ) return Form::idealS; | |
277 if( strcmp(opType,"Load2D")==0 ) return Form::idealD; | |
278 if( strcmp(opType,"Load4F")==0 ) return Form::idealF; | |
279 if( strcmp(opType,"Load2F")==0 ) return Form::idealF; | |
280 if( strcmp(opType,"Load4I")==0 ) return Form::idealI; | |
281 if( strcmp(opType,"Load2I")==0 ) return Form::idealI; | |
282 if( strcmp(opType,"Load2L")==0 ) return Form::idealL; | |
283 assert( strcmp(opType,"Load") != 0, "Must type Loads" ); | 269 assert( strcmp(opType,"Load") != 0, "Must type Loads" ); |
284 return Form::none; | 270 return Form::none; |
285 } | 271 } |
286 | 272 |
287 Form::DataType Form::is_store_to_memory(const char *opType) const { | 273 Form::DataType Form::is_store_to_memory(const char *opType) const { |
288 if( strcmp(opType,"StoreB")==0) return Form::idealB; | 274 if( strcmp(opType,"StoreB")==0) return Form::idealB; |
289 if( strcmp(opType,"StoreCM")==0) return Form::idealB; | 275 if( strcmp(opType,"StoreCM")==0) return Form::idealB; |
290 if( strcmp(opType,"StoreC")==0) return Form::idealC; | 276 if( strcmp(opType,"StoreC")==0) return Form::idealC; |
291 if( strcmp(opType,"StoreD")==0) return Form::idealD; | 277 if( strcmp(opType,"StoreD")==0) return Form::idealD; |
292 if( strcmp(opType,"StoreF")==0) return Form::idealF; | 278 if( strcmp(opType,"StoreF")==0) return Form::idealF; |
293 if( strcmp(opType,"StoreI")==0) return Form::idealI; | 279 if( strcmp(opType,"StoreI")==0) return Form::idealI; |
294 if( strcmp(opType,"StoreL")==0) return Form::idealL; | 280 if( strcmp(opType,"StoreL")==0) return Form::idealL; |
295 if( strcmp(opType,"StoreP")==0) return Form::idealP; | 281 if( strcmp(opType,"StoreP")==0) return Form::idealP; |
296 if( strcmp(opType,"StoreN")==0) return Form::idealN; | 282 if( strcmp(opType,"StoreN")==0) return Form::idealN; |
297 if( strcmp(opType,"Store16B")==0) return Form::idealB; | 283 if( strcmp(opType,"StoreVector")==0 ) return Form::idealV; |
298 if( strcmp(opType,"Store8B")==0) return Form::idealB; | |
299 if( strcmp(opType,"Store4B")==0) return Form::idealB; | |
300 if( strcmp(opType,"Store8C")==0) return Form::idealC; | |
301 if( strcmp(opType,"Store4C")==0) return Form::idealC; | |
302 if( strcmp(opType,"Store2C")==0) return Form::idealC; | |
303 if( strcmp(opType,"Store2D")==0) return Form::idealD; | |
304 if( strcmp(opType,"Store4F")==0) return Form::idealF; | |
305 if( strcmp(opType,"Store2F")==0) return Form::idealF; | |
306 if( strcmp(opType,"Store4I")==0) return Form::idealI; | |
307 if( strcmp(opType,"Store2I")==0) return Form::idealI; | |
308 if( strcmp(opType,"Store2L")==0) return Form::idealL; | |
309 assert( strcmp(opType,"Store") != 0, "Must type Stores" ); | 284 assert( strcmp(opType,"Store") != 0, "Must type Stores" ); |
310 return Form::none; | 285 return Form::none; |
311 } | 286 } |
312 | 287 |
313 Form::InterfaceType Form::interface_type(FormDict &globals) const { | 288 Form::InterfaceType Form::interface_type(FormDict &globals) const { |