cisco / thor

Thor Video Codec
BSD 2-Clause "Simplified" License
699 stars 101 forks source link

Convert intrinsics abstraction functions that require constants to macros. #12

Closed tdaede closed 9 years ago

tdaede commented 9 years ago

Some intrinsics functions include parameters that are encoded into the instruction and therefore must be constant. GCC can figure this out when inlining, however Clang cannot. This is solved by converting these functions into macros.

tdaede commented 9 years ago

Closes #6