[PATCH 3/3] CSKY: Enable extend lrw by default for CK802, CK803 and CK860.
Lifang Xia
lifang_xia@c-sky.com
Thu Sep 10 11:36:16 GMT 2020
More information about the Binutils mailing list
Thu Sep 10 11:36:16 GMT 2020
- Previous message (by thread): [PATCH 3/3] CSKY: Enable extend lrw by default for CK802, CK803 and CK860.
- Next message (by thread): [PATCH 1/3] CSKY: Add new arches while refine the cpu option process.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
merged. On 2020/9/10 17:37, Cooper Qu wrote: > gas/ > * config/tc-csky.c (md_begin): Enable extend lrw by default for > CK802, CK803 and CK860. > > --- > gas/ChangeLog | 5 +++++ > gas/config/tc-csky.c | 5 ++++- > 2 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/gas/ChangeLog b/gas/ChangeLog > index 72b1fc886a6..a45e12e9142 100644 > --- a/gas/ChangeLog > +++ b/gas/ChangeLog > @@ -1,3 +1,8 @@ > +2020-09-10 Cooper Qu <cooper.qu@linux.alibaba.com> > + > + * config/tc-csky.c (md_begin): Enable extend lrw by default for > + CK802, CK803 and CK860. > + > 2020-09-10 Cooper Qu <cooper.qu@linux.alibaba.com> > > * config/tc-csky.c (struct csky_cpu_info): Add new members > diff --git a/gas/config/tc-csky.c b/gas/config/tc-csky.c > index cafadcc942f..3518b2a2fdb 100644 > --- a/gas/config/tc-csky.c > +++ b/gas/config/tc-csky.c > @@ -1779,7 +1779,10 @@ md_begin (void) > > if (do_extend_lrw == -1) > { > - if (IS_CSKY_ARCH_801 (mach_flag)) > + if ((mach_flag & CSKY_ARCH_MASK) == CSKY_ARCH_801 > + || (mach_flag & CSKY_ARCH_MASK) == CSKY_ARCH_802 > + || (mach_flag & CSKY_ARCH_MASK) == CSKY_ARCH_803 > + || (mach_flag & CSKY_ARCH_MASK) == CSKY_ARCH_860) > do_extend_lrw = 1; > else > do_extend_lrw = 0;
- Previous message (by thread): [PATCH 3/3] CSKY: Enable extend lrw by default for CK802, CK803 and CK860.
- Next message (by thread): [PATCH 1/3] CSKY: Add new arches while refine the cpu option process.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list