Questions tagged «x86»

10
32-බිට් ලූප් කවුන්ටරය 64-බිට් සමඟ ප්‍රතිස්ථාපනය කිරීමෙන් ඉන්ටෙල් සීපීයූවල _mm_popcnt_u64 සමඟ පිස්සු කාර්ය සාධන අපගමනය හඳුන්වා දෙයි.
මම popcountවිශාල දත්ත කාණ්ඩයකට වේගවත්ම මාර්ගය සොයමින් සිටියෙමි . මම මුහුණ ඉතා අමුතු සිට පුඩුවක් විචල්ය වෙනස්: ක්රියාත්මක unsignedකිරීමට uint64_tමගේ පළාත් සභා මත 50% කින් කාර්ය සාධනය පහත විය. බෙන්ච්මාර්ක් #include <iostream> #include <chrono> #include <x86intrin.h> int main(int argc, char* argv[]) { using namespace std; if (argc != 2) { …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.