![TransformationMatrix& TransformationMatrix::multiply(const TransformationMatrix& mat) { #if CPU(ARM64) double* rightMatrix = &(m_matrix[0][0]); const double* leftMatrix = &(mat.m_matrix[0][0]); asm volatile( // Load mat.m_matrix to v16 - v23. // Load this.m_matrix to v24 - v31. // Result: this = mat * this // | v0, v1 | | v16, v17 | | v24, v25 | // | v2, v3 | = | v18, v19 | * | v26, v27 | // | v4, v5 | | v20, v21 | | v28, v29 | // | v6, v7 | | v22, v23 | | v30, v31 | "mov x9, %[rightMatrix] \t\n" "ld1 {v16.2d - v19.2d}, [%[leftMatrix]], 64 \t\n" "ld1 {v20.2d - v23.2d}, [%[leftMatrix]] \t\n" "ld1 {v24.2d - v27.2d}, [%[rightMatrix]], 64 \t\n" "ld1 {v28.2d - v31.2d}, [%[rightMatrix]] \t\n" "fmul v0.2d, v24.2d, v16.d[0] \t\n" "fmul v1.2d, v25.2d, v16.d[0] \t\n" "fmul v2.2d, v24.2d, v18.d[0] \t\n" "fmul v3.2d, v25.2d, v18.d[0]](https://pbs.twimg.com/media/FsygJjuXgAYgg3-.png?name=small&format=webp)
ALT TransformationMatrix& TransformationMatrix::multiply(const TransformationMatrix& mat) { #if CPU(ARM64) double* rightMatrix = &(m_matrix[0][0]); const double* leftMatrix = &(mat.m_matrix[0][0]); asm volatile( // Load mat.m_matrix to v16 - v23. // Load this.m_matrix to v24 - v31. // Result: this = mat * this // | v0, v1 | | v16, v17 | | v24, v25 | // | v2, v3 | = | v18, v19 | * | v26, v27 | // | v4, v5 | | v20, v21 | | v28, v29 | // | v6, v7 | | v22, v23 | | v30, v31 | "mov x9, %[rightMatrix] \t\n" "ld1 {v16.2d - v19.2d}, [%[leftMatrix]], 64 \t\n" "ld1 {v20.2d - v23.2d}, [%[leftMatrix]] \t\n" "ld1 {v24.2d - v27.2d}, [%[rightMatrix]], 64 \t\n" "ld1 {v28.2d - v31.2d}, [%[rightMatrix]] \t\n" "fmul v0.2d, v24.2d, v16.d[0] \t\n" "fmul v1.2d, v25.2d, v16.d[0] \t\n" "fmul v2.2d, v24.2d, v18.d[0] \t\n" "fmul v3.2d, v25.2d, v18.d[0]

ALT Los trabajadores con más experiencia son más productivos Los primeros, con más experiencia, consiguieron alcanzar mejores resultados que los compañeros más jóvenes y con menos experiencia. La razón es que los años de antigüedad en el trabajo ayudan a mejorar el sistema y el método con el enfocamos las responsabilidades laborales, lo que nos facilita ser más productivos.




