Index: src/arm64/utils-arm64.cc |
diff --git a/src/a64/utils-a64.cc b/src/arm64/utils-arm64.cc |
similarity index 93% |
rename from src/a64/utils-a64.cc |
rename to src/arm64/utils-arm64.cc |
index 7e710d770e7a32e77f65da41942ab7a7c2ce4f75..e2589f42e8476b8a593332ab739bba4757b81b3c 100644 |
--- a/src/a64/utils-a64.cc |
+++ b/src/arm64/utils-arm64.cc |
@@ -25,9 +25,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#if V8_TARGET_ARCH_A64 |
+#if V8_TARGET_ARCH_ARM64 |
-#include "a64/utils-a64.h" |
+#include "arm64/utils-arm64.h" |
namespace v8 { |
@@ -37,7 +37,7 @@ namespace internal { |
int CountLeadingZeros(uint64_t value, int width) { |
- // TODO(jbramley): Optimize this for A64 hosts. |
+ // TODO(jbramley): Optimize this for ARM64 hosts. |
ASSERT((width == 32) || (width == 64)); |
int count = 0; |
uint64_t bit_test = 1UL << (width - 1); |
@@ -50,7 +50,7 @@ int CountLeadingZeros(uint64_t value, int width) { |
int CountLeadingSignBits(int64_t value, int width) { |
- // TODO(jbramley): Optimize this for A64 hosts. |
+ // TODO(jbramley): Optimize this for ARM64 hosts. |
ASSERT((width == 32) || (width == 64)); |
if (value >= 0) { |
return CountLeadingZeros(value, width) - 1; |
@@ -61,7 +61,7 @@ int CountLeadingSignBits(int64_t value, int width) { |
int CountTrailingZeros(uint64_t value, int width) { |
- // TODO(jbramley): Optimize this for A64 hosts. |
+ // TODO(jbramley): Optimize this for ARM64 hosts. |
ASSERT((width == 32) || (width == 64)); |
int count = 0; |
while ((count < width) && (((value >> count) & 1) == 0)) { |
@@ -109,4 +109,4 @@ int MaskToBit(uint64_t mask) { |
} } // namespace v8::internal |
-#endif // V8_TARGET_ARCH_A64 |
+#endif // V8_TARGET_ARCH_ARM64 |