media/libtheora/lib/arm/armopts.s

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 ;********************************************************************
michael@0 2 ;* *
michael@0 3 ;* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
michael@0 4 ;* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
michael@0 5 ;* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
michael@0 6 ;* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
michael@0 7 ;* *
michael@0 8 ;* THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2010 *
michael@0 9 ;* by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
michael@0 10 ;* *
michael@0 11 ;********************************************************************
michael@0 12 ; Original implementation:
michael@0 13 ; Copyright (C) 2009 Robin Watts for Pinknoise Productions Ltd
michael@0 14 ; last mod: $Id: armopts.s.in 17430 2010-09-22 21:54:09Z tterribe $
michael@0 15 ;********************************************************************
michael@0 16
michael@0 17 ; Set the following to 1 if we have EDSP instructions
michael@0 18 ; (LDRD/STRD, etc., ARMv5E and later).
michael@0 19 OC_ARM_ASM_EDSP * 1
michael@0 20
michael@0 21 ; Set the following to 1 if we have ARMv6 media instructions.
michael@0 22 OC_ARM_ASM_MEDIA * 1
michael@0 23
michael@0 24 ; Set the following to 1 if we have NEON (some ARMv7)
michael@0 25 OC_ARM_ASM_NEON * 1
michael@0 26
michael@0 27 ; Set the following to 1 if LDR/STR can work on unaligned addresses
michael@0 28 ; This is assumed to be true for ARMv6 and later code
michael@0 29 OC_ARM_CAN_UNALIGN * 0
michael@0 30
michael@0 31 ; Large unaligned loads and stores are often configured to cause an exception.
michael@0 32 ; They cause an 8 cycle stall when they cross a 128-bit (load) or 64-bit (store)
michael@0 33 ; boundary, so it's usually a bad idea to use them anyway if they can be
michael@0 34 ; avoided.
michael@0 35
michael@0 36 ; Set the following to 1 if LDRD/STRD can work on unaligned addresses
michael@0 37 OC_ARM_CAN_UNALIGN_LDRD * 0
michael@0 38
michael@0 39 END

mercurial