This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <immintrin.h> | |
#include <emmintrin.h> | |
#include <smmintrin.h> | |
#include <stdio.h> | |
typedef unsigned short vector_t __attribute__((vector_size(16))); | |
int nqueens(int depth) { | |
unsigned short poss = (1 << depth) - 1; | |
int sum = 0; |