From eb957cad6bd474c66cd65edbe454af7e30c55727 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 1 Mar 2016 18:19:52 +0900 Subject: [PATCH] use mov_rr --- include/mcl/fp_generator.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/mcl/fp_generator.hpp b/include/mcl/fp_generator.hpp index 1801e0d..0e3909e 100644 --- a/include/mcl/fp_generator.hpp +++ b/include/mcl/fp_generator.hpp @@ -650,10 +650,7 @@ struct FpGenerator : Xbyak::CodeGenerator { add_rr(Pack(t9, t8, t4, t7), Pack(z, t5, x, t6)); adc(t10, d); // c' = [t10:t9:t8:t4] - mov(z, t4); - mov(t1, t8); - mov(t2, t9); - mov(t3, t10); + mov_rr(Pack(t3, t2, t1, z), Pack(t10, t9, t8, t4)); sub_rm(Pack(t10, t9, t8, t4), t0); cmovc(t4, z); cmovc(t8, t1);