Embedded assembly language in UE

Is it possible to embed assembly language in C/C++ code to make UE faster?

Yes, note that ue4 use normal C++ so you can do stuff that you normally can do and you can embed assembly in C/C++. You can’t compile asm files directly but you can embed assembly in C++.

Please note that this is not standard C or C++ feature, if compiler support it. it’s compiler’s proprietary feature, so it’s heavily compiler specific, it’s impotent to know if you got multi platform even if both have x86. In case of VS compiler you can either use __asm blocks:

or use intrinsic functions that allows you directly place CPU instructions in C/C++ code like a function call