Move asm_defines.h to rtc_base/system/
This moves it from an API directory (system_wrappers/include/) to a non-API directory, which is exactly what we want for utilities like this. Bug: webrtc:8445 NOPRESUBMIT=true Change-Id: I30d01fcb9cbe1427a7703a3cdd7befae751066b5 Reviewed-on: https://webrtc-review.googlesource.com/21982 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22550}
This commit is contained in:
parent
1aee625f37
commit
7aabd39b4b
@ -131,7 +131,7 @@ rtc_source_set("common_audio_c_arm_asm") {
|
|||||||
} else {
|
} else {
|
||||||
sources += [ "signal_processing/filter_ar_fast_q12.c" ]
|
sources += [ "signal_processing/filter_ar_fast_q12.c" ]
|
||||||
}
|
}
|
||||||
deps += [ "../system_wrappers:asm_defines" ]
|
deps += [ "../rtc_base/system:asm_defines" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
@ for ARMv5 platforms.
|
@ for ARMv5 platforms.
|
||||||
@ Reference C code is in file complex_bit_reverse.c. Bit-exact.
|
@ Reference C code is in file complex_bit_reverse.c. Bit-exact.
|
||||||
|
|
||||||
#include "system_wrappers/include/asm_defines.h"
|
#include "rtc_base/system/asm_defines.h"
|
||||||
|
|
||||||
GLOBAL_FUNCTION WebRtcSpl_ComplexBitReverse
|
GLOBAL_FUNCTION WebRtcSpl_ComplexBitReverse
|
||||||
.align 2
|
.align 2
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
@ r11: Scratch
|
@ r11: Scratch
|
||||||
@ r12: &coefficients[j]
|
@ r12: &coefficients[j]
|
||||||
|
|
||||||
#include "system_wrappers/include/asm_defines.h"
|
#include "rtc_base/system/asm_defines.h"
|
||||||
|
|
||||||
GLOBAL_FUNCTION WebRtcSpl_FilterARFastQ12
|
GLOBAL_FUNCTION WebRtcSpl_FilterARFastQ12
|
||||||
.align 2
|
.align 2
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
@ Output: r0 = INT (SQRT (r0)), precision is 16 bits
|
@ Output: r0 = INT (SQRT (r0)), precision is 16 bits
|
||||||
@ Registers touched: r1, r2
|
@ Registers touched: r1, r2
|
||||||
|
|
||||||
#include "system_wrappers/include/asm_defines.h"
|
#include "rtc_base/system/asm_defines.h"
|
||||||
|
|
||||||
GLOBAL_FUNCTION WebRtcSpl_SqrtFloor
|
GLOBAL_FUNCTION WebRtcSpl_SqrtFloor
|
||||||
.align 2
|
.align 2
|
||||||
|
|||||||
@ -652,7 +652,7 @@ rtc_source_set("isac_fix_c_arm_asm") {
|
|||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
":isac_fix_common",
|
":isac_fix_common",
|
||||||
"../../system_wrappers:asm_defines",
|
"../../rtc_base/system:asm_defines",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,8 +25,8 @@
|
|||||||
@ r12: constant #16384
|
@ r12: constant #16384
|
||||||
@ r6, r7, r8, r10, r11: scratch
|
@ r6, r7, r8, r10, r11: scratch
|
||||||
|
|
||||||
#include "system_wrappers/include/asm_defines.h"
|
|
||||||
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
||||||
|
#include "rtc_base/system/asm_defines.h"
|
||||||
|
|
||||||
GLOBAL_FUNCTION WebRtcIsacfix_FilterArLoop
|
GLOBAL_FUNCTION WebRtcIsacfix_FilterArLoop
|
||||||
.align 2
|
.align 2
|
||||||
|
|||||||
@ -13,8 +13,8 @@
|
|||||||
@
|
@
|
||||||
@ Output is bit-exact with the reference C code in pitch_filter.c.
|
@ Output is bit-exact with the reference C code in pitch_filter.c.
|
||||||
|
|
||||||
#include "system_wrappers/include/asm_defines.h"
|
|
||||||
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
#include "modules/audio_coding/codecs/isac/fix/source/settings.h"
|
||||||
|
#include "rtc_base/system/asm_defines.h"
|
||||||
|
|
||||||
GLOBAL_FUNCTION WebRtcIsacfix_PitchFilterCore
|
GLOBAL_FUNCTION WebRtcIsacfix_PitchFilterCore
|
||||||
.align 2
|
.align 2
|
||||||
|
|||||||
@ -12,6 +12,12 @@ if (is_android) {
|
|||||||
import("//build/config/android/rules.gni")
|
import("//build/config/android/rules.gni")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rtc_source_set("asm_defines") {
|
||||||
|
sources = [
|
||||||
|
"asm_defines.h",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
rtc_source_set("fallthrough") {
|
rtc_source_set("fallthrough") {
|
||||||
sources = [
|
sources = [
|
||||||
"fallthrough.h",
|
"fallthrough.h",
|
||||||
|
|||||||
@ -8,8 +8,8 @@
|
|||||||
* be found in the AUTHORS file in the root of the source tree.
|
* be found in the AUTHORS file in the root of the source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SYSTEM_WRAPPERS_INCLUDE_ASM_DEFINES_H_
|
#ifndef RTC_BASE_SYSTEM_ASM_DEFINES_H_
|
||||||
#define SYSTEM_WRAPPERS_INCLUDE_ASM_DEFINES_H_
|
#define RTC_BASE_SYSTEM_ASM_DEFINES_H_
|
||||||
|
|
||||||
#if defined(__linux__) && defined(__ELF__)
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
@ -63,4 +63,4 @@ strheq \reg1, \reg2, \num
|
|||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
#endif // SYSTEM_WRAPPERS_INCLUDE_ASM_DEFINES_H_
|
#endif // RTC_BASE_SYSTEM_ASM_DEFINES_H_
|
||||||
@ -124,12 +124,6 @@ rtc_source_set("cpu_features_api") {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
rtc_source_set("asm_defines") {
|
|
||||||
sources = [
|
|
||||||
"include/asm_defines.h",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
rtc_source_set("field_trial_api") {
|
rtc_source_set("field_trial_api") {
|
||||||
sources = [
|
sources = [
|
||||||
"include/field_trial.h",
|
"include/field_trial.h",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user