add fpsr, eflags for good measure

courtesy of @whitequark
This commit is contained in:
edef 2016-04-16 07:41:00 +02:00
parent 821d731803
commit 6284a22caa
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ macro_rules! swap {
: "eax", "ebx", "ecx", "edx", "esi", "edi", //"ebp", "esp",
"mmx0", "mmx1", "mmx2", "mmx3", "mmx4", "mmx5", "mmx6", "mmx7",
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7",
"cc"
"cc", "fpsr", "eflags"
: "volatile")
};
}

View File

@ -27,7 +27,7 @@ macro_rules! swap {
"xmm8", "xmm9", "xmm10", "xmm11", "xmm12", "xmm13", "xmm14", "xmm15",
"xmm16", "xmm17", "xmm18", "xmm19", "xmm20", "xmm21", "xmm22", "xmm23",
"xmm24", "xmm25", "xmm26", "xmm27", "xmm28", "xmm29", "xmm30", "xmm31"
"cc"
"cc", "fpsr", "eflags"
: "volatile");
}
}