MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / negate

Method negate

src/hx/cppia/CppiaCompiler.cpp:1168–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1166 }
1167
1168 void negate(const JitVal &inDest, const JitVal &inSrc) HXCPP_OVERRIDE
1169 {
1170 if (inSrc.type==jtFloat)
1171 {
1172 emit_fop1(SLJIT_NEG_F64, inDest, inSrc);
1173 }
1174 else
1175 {
1176 emit_op1(SLJIT_NEG32, inDest, inSrc);
1177 }
1178 }
1179
1180
1181 void add(const JitVal &inDest, const JitVal &v0, const JitVal &v1 ) HXCPP_OVERRIDE

Callers 1

genCodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected