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 |