Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: src/IceAssemblerX86Base.h

Issue 1909013002: Subzero. X86. Lowers shufflevector using xmm instructions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceAssemblerX86Base.h - base x86 assembler -*- C++ -*---===// 1 //===- subzero/src/IceAssemblerX86Base.h - base x86 assembler -*- C++ -*---===//
2 // 2 //
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 // 6 //
7 // Modified by the Subzero authors. 7 // Modified by the Subzero authors.
8 // 8 //
9 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===//
10 // 10 //
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 void unpcklpd(XmmRegister dst, XmmRegister src); 425 void unpcklpd(XmmRegister dst, XmmRegister src);
426 void unpckhpd(XmmRegister dst, XmmRegister src); 426 void unpckhpd(XmmRegister dst, XmmRegister src);
427 427
428 void set1ps(XmmRegister dst, GPRRegister tmp, const Immediate &imm); 428 void set1ps(XmmRegister dst, GPRRegister tmp, const Immediate &imm);
429 429
430 void sqrtpd(XmmRegister dst); 430 void sqrtpd(XmmRegister dst);
431 431
432 void pshufd(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &mask); 432 void pshufd(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &mask);
433 void pshufd(Type Ty, XmmRegister dst, const Address &src, 433 void pshufd(Type Ty, XmmRegister dst, const Address &src,
434 const Immediate &mask); 434 const Immediate &mask);
435 void punpckldq(Type, XmmRegister Dst, XmmRegister Src);
436 void punpckldq(Type, XmmRegister Dst, const Address &Src);
435 void shufps(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &mask); 437 void shufps(Type Ty, XmmRegister dst, XmmRegister src, const Immediate &mask);
436 void shufps(Type Ty, XmmRegister dst, const Address &src, 438 void shufps(Type Ty, XmmRegister dst, const Address &src,
437 const Immediate &mask); 439 const Immediate &mask);
438 440
439 void cvtdq2ps(Type, XmmRegister dst, XmmRegister src); 441 void cvtdq2ps(Type, XmmRegister dst, XmmRegister src);
440 void cvtdq2ps(Type, XmmRegister dst, const Address &src); 442 void cvtdq2ps(Type, XmmRegister dst, const Address &src);
441 443
442 void cvttps2dq(Type, XmmRegister dst, XmmRegister src); 444 void cvttps2dq(Type, XmmRegister dst, XmmRegister src);
443 void cvttps2dq(Type, XmmRegister dst, const Address &src); 445 void cvttps2dq(Type, XmmRegister dst, const Address &src);
444 446
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 emitUint8(0x66); 914 emitUint8(0x66);
913 } 915 }
914 916
915 } // end of namespace X86NAMESPACE 917 } // end of namespace X86NAMESPACE
916 918
917 } // end of namespace Ice 919 } // end of namespace Ice
918 920
919 #include "IceAssemblerX86BaseImpl.h" 921 #include "IceAssemblerX86BaseImpl.h"
920 922
921 #endif // SUBZERO_SRC_ICEASSEMBLERX86BASE_H 923 #endif // SUBZERO_SRC_ICEASSEMBLERX86BASE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698