diff options
author | Jake Weinstein <jake@aospa.co> | 2017-12-11 02:50:04 -0500 |
---|---|---|
committer | Jake Weinstein <jake@aospa.co> | 2017-12-11 02:50:54 -0500 |
commit | 1e108e3432cd185594e1ac84913b1cbd489fbe52 (patch) | |
tree | 14fa460bee3209c4f08bcd4b63b9757a427a2be4 /libm/arm64 | |
parent | d351581aa9ba1fbce227db35500471fe59c45f08 (diff) | |
download | bionic-1e108e3432cd185594e1ac84913b1cbd489fbe52.tar.gz |
Use builtins for ceil/floor/rint/trunc on arm64
Change-Id: I5c8be32b4d5a136690a496cddfec7d1fc2b25ee1
Diffstat (limited to 'libm/arm64')
-rw-r--r-- | libm/arm64/ceil.S | 27 | ||||
-rw-r--r-- | libm/arm64/floor.S | 27 | ||||
-rw-r--r-- | libm/arm64/rint.S | 27 | ||||
-rw-r--r-- | libm/arm64/trunc.S | 27 |
4 files changed, 0 insertions, 108 deletions
diff --git a/libm/arm64/ceil.S b/libm/arm64/ceil.S deleted file mode 100644 index 7217d57c5..000000000 --- a/libm/arm64/ceil.S +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include <private/bionic_asm.h> - -ENTRY(ceil) - frintP d0, d0 - ret -END(ceil) - -ENTRY(ceilf) - frintP s0, s0 - ret -END(ceilf) diff --git a/libm/arm64/floor.S b/libm/arm64/floor.S deleted file mode 100644 index ca106bdd5..000000000 --- a/libm/arm64/floor.S +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include <private/bionic_asm.h> - -ENTRY(floor) - frintM d0, d0 - ret -END(floor) - -ENTRY(floorf) - frintM s0, s0 - ret -END(floorf) diff --git a/libm/arm64/rint.S b/libm/arm64/rint.S deleted file mode 100644 index bf49f5b53..000000000 --- a/libm/arm64/rint.S +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include <private/bionic_asm.h> - -ENTRY(rint) - frintX d0, d0 - ret -END(rint) - -ENTRY(rintf) - frintX s0, s0 - ret -END(rintf) diff --git a/libm/arm64/trunc.S b/libm/arm64/trunc.S deleted file mode 100644 index aa0d4bd02..000000000 --- a/libm/arm64/trunc.S +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include <private/bionic_asm.h> - -ENTRY(trunc) - frintZ d0, d0 - ret -END(trunc) - -ENTRY(truncf) - frintZ s0, s0 - ret -END(truncf) |