src/cpu/ppc/vm/assembler_ppc.inline.hpp

changeset 9730
42118db355f5
parent 9713
c4567d28f31f
child 9756
2be326848943
equal deleted inserted replaced
9728:fa7fe6dae563 9730:42118db355f5
902 #else 902 #else
903 vperm(first_dest, first_dest, second, perm); 903 vperm(first_dest, first_dest, second, perm);
904 #endif 904 #endif
905 } 905 }
906 906
907 inline void Assembler::vec_perm(VectorRegister dest, VectorRegister first, VectorRegister second, VectorRegister perm) {
908 #if defined(VM_LITTLE_ENDIAN)
909 vperm(dest, second, first, perm);
910 #else
911 vperm(dest, first, second, perm);
912 #endif
913 }
914
907 inline void Assembler::load_const(Register d, void* x, Register tmp) { 915 inline void Assembler::load_const(Register d, void* x, Register tmp) {
908 load_const(d, (long)x, tmp); 916 load_const(d, (long)x, tmp);
909 } 917 }
910 918
911 // Load a 64 bit constant encoded by a `Label'. This works for bound 919 // Load a 64 bit constant encoded by a `Label'. This works for bound

mercurial