Random Chitchat 2012-2016
Type I'm working with right now:

Code:
VecMath::MaxImpl<VecMath::MaxImpl<VecMath::SelectImpl<VecMath::OrImpl<VecMath::BroadcastVecImpl<VecMath::SetVecIndexImpl<256,
      1, VecMath::BroadcastImpl<unsigned char, 1, void>, VecMath::Boolean<unsigned char, 1>::TrueImpl,
      VecMath::Boolean<unsigned char, 256>::FalseImpl>, 256, 2304>,
      VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, 1>, void>, VecMath::Vector<unsigned
      char, 589824, void>, VecMath::SubtractImpl<VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824,
      void>, 1>, VecMath::DoFuncImpl<unsigned char (unsigned char), VecMath::Vector<unsigned char, 589824,
      void>, void>, void> >,
      VecMath::SelectImpl<VecMath::OrImpl<VecMath::BroadcastVecImpl<VecMath::SetVecIndexImpl<256, 1,
      VecMath::BroadcastImpl<unsigned char, 1, void>, VecMath::Boolean<unsigned char, 1>::TrueImpl,
      VecMath::Boolean<unsigned char, 256>::FalseImpl>, 256, 2304>,
      VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, -1>, void>,
      VecMath::Vector<unsigned char, 589824, void>,
      VecMath::SubtractImpl<VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, -1>,
      VecMath::DoFuncImpl<unsigned char (unsigned char), VecMath::Vector<unsigned char, 589824, void>,
      void>, void> >, void>,
      VecMath::MaxImpl<VecMath::MaxImpl<VecMath::SelectImpl<VecMath::OrImpl<VecMath::BroadcastVecImpl<VecMath::SetVecIndexImpl<12288,
      1, VecMath::BroadcastImpl<unsigned char, 256, void>, VecMath::Boolean<unsigned char, 256>::TrueImpl,
      VecMath::Boolean<unsigned char, 12288>::FalseImpl>, 12288, 48>,
      VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, 256>, void>,
      VecMath::Vector<unsigned char, 589824, void>,
      VecMath::SubtractImpl<VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, 256>,
      VecMath::DoFuncImpl<unsigned char (unsigned char), VecMath::Vector<unsigned char, 589824, void>,
      void>, void> >,
      VecMath::SelectImpl<VecMath::OrImpl<VecMath::BroadcastVecImpl<VecMath::SetVecIndexImpl<12288, 1,
      VecMath::BroadcastImpl<unsigned char, 256, void>, VecMath::Boolean<unsigned char, 256>::TrueImpl,
      VecMath::Boolean<unsigned char, 12288>::FalseImpl>, 12288, 48>,
      VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, -256>, void>,
      VecMath::Vector<unsigned char, 589824, void>,
      VecMath::SubtractImpl<VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, -256>,
      VecMath::DoFuncImpl<unsigned char (unsigned char), VecMath::Vector<unsigned char, 589824, void>,
      void>, void> >, void>,
      VecMath::MaxImpl<VecMath::SelectImpl<VecMath::OrImpl<VecMath::SetVecIndexImpl<589824, 12288,
      VecMath::BroadcastImpl<unsigned char, 12288, void>, VecMath::Boolean<unsigned char,
      12288>::TrueImpl, VecMath::Boolean<unsigned char, 589824>::FalseImpl>,
      VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, 12288>, void>,
      VecMath::Vector<unsigned char, 589824, void>,
      VecMath::SubtractImpl<VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, 12288>,
      VecMath::DoFuncImpl<unsigned char (unsigned char), VecMath::Vector<unsigned char, 589824, void>,
      void>, void> >, VecMath::SelectImpl<VecMath::OrImpl<VecMath::SetVecIndexImpl<589824, 12288,
      VecMath::BroadcastImpl<unsigned char, 12288, void>, VecMath::Boolean<unsigned char,
      12288>::TrueImpl, VecMath::Boolean<unsigned char, 589824>::FalseImpl>,
      VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, -12288>, void>,
      VecMath::Vector<unsigned char, 589824, void>,
      VecMath::SubtractImpl<VecMath::ShiftImpl<VecMath::Vector<unsigned char, 589824, void>, -12288>,
      VecMath::DoFuncImpl<unsigned char (unsigned char), VecMath::Vector<unsigned char, 589824, void>,
      void>, void> >, void>, void>, void>
Thanks given by:
I admit, I have no idea what that does.
Thanks given by:
Its what you get when you try and do computation monads in c++.
Thanks given by:
Do anybody know why i need to include the cpp file? I think only headers should be included. When i don't include it there is this error:
Connection.cpp:338: undefined reference to `cProtocol172::cProtocol172(cConnection*)'
I don't mean the MCServer Code. I mean the MCProxy code from me.
https://github.com/daniel0916/MCProxy/tree/development
The last two commits for the compiling.
Thanks given by:
https://github.com/daniel0916/MCProxy/bl...ts.txt#L18 you haven't added the source files to the build.
Thanks given by:
(06-04-2014, 03:17 AM)worktycho Wrote: https://github.com/daniel0916/MCProxy/bl...ts.txt#L18 you haven't added the source files to the build.

I add the subdirectory src and there is also a CMakeLists file. What do you mean?
Thanks given by:
Reading assembly is interesting, clang seems to have optimised everything except the counter out of a loop but left the loop in so it just counts up to 0x9000.
Thanks given by:
(06-04-2014, 03:24 AM)daniel0916 Wrote:
(06-04-2014, 03:17 AM)worktycho Wrote: https://github.com/daniel0916/MCProxy/bl...ts.txt#L18 you haven't added the source files to the build.

I add the subdirectory src and there is also a CMakeLists file. What do you mean?

Can you explain it a little bit more?
Thanks given by:
Derp, why not just optimise out the counter itself?
Thanks given by:
Daniel, you need to add the file explicitly to the list of sources. Adding the "src" folder actually creates a new project file for MCS, but doesn't add to your current project (MCProxy).
Thanks given by:




Users browsing this thread: 34 Guest(s)