/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2012, Richard Lowe.
*/
#define FUNC(x) \
.text; \
.align 16; \
.globl x; \
x:
.size x, [.-x]; \
/*
* Extracted versions of the functional tests
*
* Named of the form <compiler>-<prologue style>-<nature of test>
* basic -- A regular function
* align -- odd number of arguments needing save-area
* alignment
* big-struct-ret -- returns a > 16byte structure by value
* big-struct-ret-and-spill -- returns a > 16byte structure by value and
* spills args to the stack
* small-struct-ret -- returns a < 16byte structure by value
* small-struct-ret-and-spill -- returns a < 16byte structure by value and
* spills args to the stack
* stack-spill -- spills arguments to the stack
*/
/* DTrace instrumentation */
int $0x3
/*
* System functions with special characteristics, be they non-initial FP save,
* gaps between FP save and argument saving, or gaps between saved arguments.
*/
/* Problematic functions which should not match */
/* Small structure return, but with an SSE type (thus forcing it to the stack) */
/* Big structure return, but with an SSE type */
.word 0x9afe
.word 0xffff
.word 0xffff
.word 0xa8ff
.word 0xffff
.word 0xffff
.word 0x7cff
.word 0xffff
.word 0xffff