From 852e9c22b1d025c6a6622ed25c4b881026df5378 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Tue, 25 Dec 2012 15:48:51 -0500 Subject: [PATCH] Adding more ARM assembly stubs for op_ routines. --- sr_arm/op_fetchintrrpt.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_forchk1.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_forintrrpt.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_forloop.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_linefetch.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_linestart.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_mprofforchk1.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_mproflinefetch.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_mproflinestart.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_retarg.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_startintrrpt.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_zbfetch.s | 30 ++++++++++++++++++++++++++++++ sr_arm/op_zbstart.s | 30 ++++++++++++++++++++++++++++++ 13 files changed, 390 insertions(+) create mode 100644 sr_arm/op_fetchintrrpt.s create mode 100644 sr_arm/op_forchk1.s create mode 100644 sr_arm/op_forintrrpt.s create mode 100644 sr_arm/op_forloop.s create mode 100644 sr_arm/op_linefetch.s create mode 100644 sr_arm/op_linestart.s create mode 100644 sr_arm/op_mprofforchk1.s create mode 100644 sr_arm/op_mproflinefetch.s create mode 100644 sr_arm/op_mproflinestart.s create mode 100644 sr_arm/op_retarg.s create mode 100644 sr_arm/op_startintrrpt.s create mode 100644 sr_arm/op_zbfetch.s create mode 100644 sr_arm/op_zbstart.s diff --git a/sr_arm/op_fetchintrrpt.s b/sr_arm/op_fetchintrrpt.s new file mode 100644 index 0000000..cae3f6d --- /dev/null +++ b/sr_arm/op_fetchintrrpt.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_fetchintrrpt + .type op_fetchintrrpt, %function +op_fetchintrrpt: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_fetchintrrpt, .-op_fetchintrrpt diff --git a/sr_arm/op_forchk1.s b/sr_arm/op_forchk1.s new file mode 100644 index 0000000..8c5e7b9 --- /dev/null +++ b/sr_arm/op_forchk1.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_forchk1 + .type op_forchk1, %function +op_forchk1: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_forchk1, .-op_forchk1 diff --git a/sr_arm/op_forintrrpt.s b/sr_arm/op_forintrrpt.s new file mode 100644 index 0000000..e27712d --- /dev/null +++ b/sr_arm/op_forintrrpt.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_forintrrpt + .type op_forintrrpt, %function +op_forintrrpt: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_forintrrpt, .-op_forintrrpt diff --git a/sr_arm/op_forloop.s b/sr_arm/op_forloop.s new file mode 100644 index 0000000..5127314 --- /dev/null +++ b/sr_arm/op_forloop.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_forloop + .type op_forloop, %function +op_forloop: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_forloop, .-op_forloop diff --git a/sr_arm/op_linefetch.s b/sr_arm/op_linefetch.s new file mode 100644 index 0000000..a7dc311 --- /dev/null +++ b/sr_arm/op_linefetch.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_linefetch + .type op_linefetch, %function +op_linefetch: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_linefetch, .-op_linefetch diff --git a/sr_arm/op_linestart.s b/sr_arm/op_linestart.s new file mode 100644 index 0000000..b2e6fdc --- /dev/null +++ b/sr_arm/op_linestart.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_linestart + .type op_linestart, %function +op_linestart: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_linestart, .-op_linestart diff --git a/sr_arm/op_mprofforchk1.s b/sr_arm/op_mprofforchk1.s new file mode 100644 index 0000000..1247af7 --- /dev/null +++ b/sr_arm/op_mprofforchk1.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_mprofforchk1 + .type op_mprofforchk1, %function +op_mprofforchk1: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_mprofforchk1, .-op_mprofforchk1 diff --git a/sr_arm/op_mproflinefetch.s b/sr_arm/op_mproflinefetch.s new file mode 100644 index 0000000..7e56f07 --- /dev/null +++ b/sr_arm/op_mproflinefetch.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_mproflinefetch + .type op_mproflinefetch, %function +op_mproflinefetch: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_mproflinefetch, .-op_mproflinefetch diff --git a/sr_arm/op_mproflinestart.s b/sr_arm/op_mproflinestart.s new file mode 100644 index 0000000..c4f21bc --- /dev/null +++ b/sr_arm/op_mproflinestart.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_mproflinestart + .type op_mproflinestart, %function +op_mproflinestart: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_mproflinestart, .-op_mproflinestart diff --git a/sr_arm/op_retarg.s b/sr_arm/op_retarg.s new file mode 100644 index 0000000..b8b0c1e --- /dev/null +++ b/sr_arm/op_retarg.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_retarg + .type op_retarg, %function +op_retarg: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_retarg, .-op_retarg diff --git a/sr_arm/op_startintrrpt.s b/sr_arm/op_startintrrpt.s new file mode 100644 index 0000000..8e7bb86 --- /dev/null +++ b/sr_arm/op_startintrrpt.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_startintrrpt + .type op_startintrrpt, %function +op_startintrrpt: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_startintrrpt, .-op_startintrrpt diff --git a/sr_arm/op_zbfetch.s b/sr_arm/op_zbfetch.s new file mode 100644 index 0000000..76e719e --- /dev/null +++ b/sr_arm/op_zbfetch.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_zbfetch + .type op_zbfetch, %function +op_zbfetch: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_zbfetch, .-op_zbfetch diff --git a/sr_arm/op_zbstart.s b/sr_arm/op_zbstart.s new file mode 100644 index 0000000..1c38eee --- /dev/null +++ b/sr_arm/op_zbstart.s @@ -0,0 +1,30 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_zbstart + .type op_zbstart, %function +op_zbstart: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + mov r3, #0 + mov r0, r3 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_zbstart, .-op_zbstart