Skip to content

Instantly share code, notes, and snippets.

View Bigcheese's full-sized avatar

Michael Spencer Bigcheese

View GitHub Profile
@Bigcheese
Bigcheese / rules3.0.diff
Created August 28, 2015 23:50
MLPCCG Rules 3.0 Changes
--- ../../mlpccg/rules2.4.txt Fri Aug 28 16:37:04 2015
+++ ../../mlpccg/rules3.0.txt Fri Aug 28 16:37:05 2015
@@ -122,6 +122,7 @@
begins.
 (102.4a) To mulligan, a player shuffles their hand into their draw deck,
then puts the top 6 cards of their draw deck into their hand.
+o (102.5) Once any mulligans have been completed, the game starts.
• (103) Winning and Losing
o (103.1) As a player wins the game, the game ends immediately and no further
actions are performed. This can happen at any time, including during PrePriority
cmake_minimum_required(VERSION 2.8.10)
include(CMakeForceCompiler)
set(CMAKE_SYSTEM_NAME Generic)
CMAKE_FORCE_C_COMPILER(clang GNU)
CMAKE_FORCE_CXX_COMPILER(clang++ GNU)
project(badninja C)
.syntax unified
.cpu cortex-m3
.fpu softvfp
.thumb
.global g_pfnVectors
.global Default_Handler
.section .text.Reset_Handler
.weak Reset_Handler
#!/usr/bin/env python
for i in xrange(0, 10000000):
print "%d %d" % (i, i + 10000000)
CMake Warning (dev) in C:/Users/mspencer/Projects/llvm-project/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "clangDynamicASTMatchers" has an INTERFACE_LINK_LIBRARIES property.
This should be preferred as the source of the link interface for this
library but because CMP0022 is not set CMake is ignoring the property and
using the link implementation as the link interface instead.
#include <x86intrin.h>
#include <immintrin.h>
#include <avxintrin.h>
#include <avx2intrin.h>
#include <stdio.h>
#include <inttypes.h>
__m128i shift_sse2(unsigned S) {
__v8hi a8 = {1, 2, 3, 4, 5, 6, 7, 8};
__m128i shift = {S};
diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp
index 0bc3ac7..e0bd6b5 100644
--- a/lib/Transforms/InstCombine/InstCombineCalls.cpp
+++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -554,6 +554,51 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
break;
}
+ // Constant fold <A x Bi> << Ci.
+ case Intrinsic::x86_sse2_psll_d:
#include <random>
#include <iostream>
#include <vector>
#include <type_traits>
#include <inttypes.h>
#include <bitset>
enum ZeroBehavior {
/// \brief The returned value is undefined.
ZB_Undefined,
#include <string>
#include <locale>
namespace unicode {
enum class encoding_form {
utf_8,
utf_16,
utf_32,
};
This set of occurrences is created by 514.6:
simultaneously {
place_card_on_bottom(X)
place_card_on_bottom(Friend_with_pumped)
}
Blossemforth's replacement modifier replaces it with:
simultaneously {