Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: build/toolchain.gypi

Issue 1384453003: MIPS: Pass -fp32 flag to the compiler when building for loongson (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 ], 631 ],
632 'cflags!': ['-mfp64', '-mfp32'], 632 'cflags!': ['-mfp64', '-mfp32'],
633 'cflags': ['-mips32', '-Wa,-mips32', '-mfpxx'], 633 'cflags': ['-mips32', '-Wa,-mips32', '-mfpxx'],
634 'ldflags': ['-mips32'], 634 'ldflags': ['-mips32'],
635 }], 635 }],
636 ['mips_arch_variant=="loongson"', { 636 ['mips_arch_variant=="loongson"', {
637 'defines': [ 637 'defines': [
638 '_MIPS_ARCH_LOONGSON', 638 '_MIPS_ARCH_LOONGSON',
639 'FPU_MODE_FP32', 639 'FPU_MODE_FP32',
640 ], 640 ],
641 'cflags!': ['-mfp64', '-mfp32', '-mfpxx'], 641 'cflags!': ['-mfp64', '-mfpxx'],
642 'cflags': ['-mips3', '-Wa,-mips3'], 642 'cflags': ['-mips3', '-Wa,-mips3', '-mfp32'],
643 }], 643 }],
644 ], 644 ],
645 }, { 645 }, {
646 # 'v8_target_arch!=target_arch' 646 # 'v8_target_arch!=target_arch'
647 # Target not built with an MIPS CXX compiler (simulator build). 647 # Target not built with an MIPS CXX compiler (simulator build).
648 'conditions': [ 648 'conditions': [
649 ['mips_arch_variant=="r6"', { 649 ['mips_arch_variant=="r6"', {
650 'defines': [ 650 'defines': [
651 '_MIPS_ARCH_MIPS32R6', 651 '_MIPS_ARCH_MIPS32R6',
652 'FPU_MODE_FP64', 652 'FPU_MODE_FP64',
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 ['v8_enable_slow_dchecks==1', { 1273 ['v8_enable_slow_dchecks==1', {
1274 'defines': [ 1274 'defines': [
1275 'ENABLE_SLOW_DCHECKS', 1275 'ENABLE_SLOW_DCHECKS',
1276 ], 1276 ],
1277 }], 1277 }],
1278 ], # conditions 1278 ], # conditions
1279 }, # Release 1279 }, # Release
1280 }, # configurations 1280 }, # configurations
1281 }, # target_defaults 1281 }, # target_defaults
1282 } 1282 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698