diff --git a/library/compiler/x86/intrinsics.factor b/library/compiler/x86/intrinsics.factor index 2bb78d6c15..7e41ac6564 100644 --- a/library/compiler/x86/intrinsics.factor +++ b/library/compiler/x86/intrinsics.factor @@ -1,221 +1,270 @@ ! Copyright (C) 2005, 2006 Slava Pestov. -! See http://factor.sf.net/license.txt for BSD license. +! See http://factorcode.org/license.txt for BSD license. IN: compiler +USING: alien assembler kernel kernel-internals math +math-internals namespaces sequences ; -M: %type generate-node ( vop -- ) +\ tag [ + "in" operand tag-mask AND + "in" operand tag-bits SHL +] H{ + { +input { { f "in" } } } + { +output { "in" } } +} define-intrinsic + +\ type [ #! Intrinstic version of type primitive. - drop